
.checkbox-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.checkbox-table td {
  padding: 8px 10px;
  vertical-align: middle;
  font-size: 16px;
}

.checkbox-table td:first-child {
  text-align: left;
  width: 70%;
}

.checkbox-table td:last-child {
  text-align: left;
}



/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

/* Header & Navigation */
header {
    background: #333;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;f
}

nav li {
    display: inline;
    margin: 0 10px;
}

nav a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
#hero {
    position: relative;
    background: url('https://technicaldocuments.equipeclassicracing.com/assets/lets-race-bg.jpg') no-repeat center center/cover;
    height: 700px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

/* ✅ Grey Overlay */
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Adjust opacity for darker/lighter effect */
    z-index: 1;
}

/* ✅ Ensures text is above overlay */
.hero-content {
    position: relative;
    z-index: 2;
}


.hero-content h1 {
    font-size: 2em;
     position: relative;
    z-index: 2;
}

.btn {
    background: #fbda00;
    color: black;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

/* Form Section */
.form-container {
    max-width: 600px;
    width: 90%; /* Ensures it fits smaller screens */
    margin: 20px auto;
    min-height:700px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Ensures content doesn’t leak */
}
.form-step {
    min-height: 600px; /* Keeps form step height consistent */
}

.form-container input,
.form-container select {
    display: block;
    width: calc(100% - 20px); /* Ensures padding does not exceed width */
    max-width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Fixes overflow issue */
}


button {
    background: #fbda00;
    color: black;
    padding: 10px;
    border: none;
    cursor: pointer;
}

/* Progress Bar */
.progress-bar {
    height: 20px;
    background: #ddd;
    margin-bottom: 10px;
}

.progress {
    height: 10px;
    background: #fbda00;
    width: 25%;
}

/* Admin Navigation */
.admin-menu {
    background: #222;
    padding: 10px;
    text-align: center;
}

.admin-menu ul {
    list-style: none;
    padding: 0;
}

.admin-menu li {
    display: inline;
    margin: 0 15px;
}

.admin-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Admin Page Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background: #333;
    color: white;
}

.back-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background: #555;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Print Button */
.print-btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 15px;
    background: blue;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Edit Button */
.edit-btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 15px;
    background: green;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Multi-Step Form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Progress Bar */
.progress-bar {
    height: 10px;
    background: #ddd;
    margin-bottom: 10px;
    width: 100%;
}

.progress {
    height: 10px;
    background: #fbda00;
    width: 0%;
    transition: width 0.3s;
}



.nxt-btn, .prev-btn, .submit-btn {
    background: #fbda00 !important; /* Ensuring yellow color */
    color: black !important;
    font-weight: bold;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s ease;
}

.nxt-btn:hover, .prev-btn:hover, .submit-btn:hover {
    background: #f4c400 !important; /* Slightly darker yellow on hover */
}


/* ✅ Image Showcase Grid */
.car-showcase {
    background: #fff;
    padding: 40px;
    text-align: center;
    margin-top:20px;
}

.car-showcase h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.image-grid img {
    width: 22%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* ✅ Submission Info Section */
.submission-info {
    background: #222;
    color: white;
    text-align: center;
    padding: 40px;
}

.submission-info h2 {
    font-size: 24px;
}

.submission-text p {
    font-size: 16px;
    max-width: 700px;
    margin: auto;
}

/* ✅ Footer Styling */
footer {
    background: #111;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    width: 100px;
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fbda00;
}

.social-icons img {
    width: 30px;
    margin: 10px;
}

.footer-text {
    font-size: 14px;
    color: #888;
    margin-top: 10px;
}

/* ✅ Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .image-grid img {
        width: 48%;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 600px) {
  .form-container {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 20px 10px;
    border-radius: 0;
    box-sizing: border-box;
  }

  .form-container input,
  .form-container select {
    width: 100%;
  }
  /* Hero Section */
#hero {
    position: relative;
    background: url('https://technicaldocuments.equipeclassicracing.com/assets/lets-race-bg.jpg') no-repeat center center/cover;
    height: 350px;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

}




@media (max-width: 480px) {
    .image-grid img {
        width: 100%;
    }

    .top-navbar {
        flex-direction: column;
    }

    .top-navbar ul {
        flex-direction: column;
        text-align: center;
    }

    .top-navbar ul li {
        margin: 5px 0;
    }
}

