/* Globales */
body {
    font-family: 'Roboto', sans-serif; /* Tipograf赤a moderna */
    margin: 0;
    padding: 0;
    background-color: #f9fafc; /* Fondo suave */
    color: #333;
}




/* Encabezado */
header {
    background-color: #f4f4f9;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: black;
    margin: 0;
}

.user-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #1a73e8;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.login-link:hover {
    background-color: #1a73e8;
    color: white;
}




/* Navegacion */
nav {
    background-color: #2c2c54; /* Gris oscuro */
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a.cta {
    background-color: #ff9800;
    color: white;
}

nav a:hover {
    background-color: #1a73e8; /* Azul al pasar el mouse */
}




/* Hero Section */
.hero {
    text-align: center;
    background-color: #0073e6;
    color: white;
    padding: 50px 20px;
    margin-bottom: 30px;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #e0f0ff
}

.hero p {
    font-size: 18px;
    margin-bottom: 0;
    font-style: italic;
    color: #e0f0ff; /* Azul claro para un contraste suave */
}




/* Publicity Sections */
.publicity {
    background-color: white;
    margin: 20px 0; /* Elimina margen lateral automático */
    padding: 20px;
    width: 100%; /* Asegura que ocupe todo el ancho */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Centra el texto dentro del bloque */
    box-sizing: border-box; /* Incluye el padding en el ancho total */
}

.publicity:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.publicity h3 {
    color: #1a73e8;
    margin-top: 0;
    font-size: 22px;
}

.publicity p {
    font-size: 16px;
    color: #666;
}




/* Pie de p芍gina */
footer {
    background-color: #1a73e8;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    margin-top: 20px;
}




/* Contenedor principal de login */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Alinea el contenido al inicio del contenedor */
    padding: 20px;
    background-color: #f9fafc; /* Fondo claro */
    box-sizing: border-box;
    overflow-y: auto; /* Permite desplazamiento vertical */
    height: auto; /* Ajusta la altura automáticamente al contenido */
    margin-bottom: 0; /* Elimina márgenes adicionales */
    min-height: 100vh; /* Asegura que ocupe toda la pantalla */
}

/* Header original */
header {
    background-color: #f4f4f9;
    color: black;
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Footer fijo */
footer {
    background-color: #1a73e8;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    margin-top: 20px;
}

/* Contenedor para superponer los formularios */
.form-container {
    position: relative; /* Contenedor relativo para superposición */
    width: 100%;
    max-width: 400px; /* Ancho fijo */
    overflow: hidden; /* Oculta elementos fuera del contenedor */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Sombra elegante */
    background-color: white; /* Fondo blanco */
    padding: 10px; /* Espaciado interior */
    box-sizing: border-box;
    margin: 0; /* Elimina márgenes adicionales */
    min-height: 320px; /* Asegura que el contenedor siempre tenga suficiente altura */
}

/* Formularios superpuestos */
.form-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; /* Fondo del formulario */
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    margin: 0; /* Asegura que no haya márgenes extra */

    /* Transiciones para suavidad */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

/* Clases dinámicas */
.hidden {
    opacity: 0;
    transform: translateX(100%); /* Mueve el formulario fuera de la vista */
    pointer-events: none;
}

.visible {
    opacity: 1;
    transform: translateX(0); /* Mantiene el formulario en la vista */
    pointer-events: auto;
}

/* Títulos de las secciones */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #1a73e8;
    text-align: center;
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

input, select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus, select:focus {
    border-color: #0073e6; /* Azul al enfocar */
}

/* Botones */
button {
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Botón principal */
.btn-primary {
    background-color: #0073e6;
    color: white;
}

.btn-primary:hover {
    background-color: #005bb5;
    transform: translateY(-2px); /* Efecto de elevación */
}

/* Botón secundario */
.btn-secondary {
    background-color: #ff9800;
    color: white;
}

.btn-secondary:hover {
    background-color: #e08700;
    transform: translateY(-2px); /* Efecto de elevación */
}

/* Enlace para alternar entre secciones */
.register-toggle {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.register-toggle a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
}

.register-toggle a:hover {
    text-decoration: underline;
}
/* Banner de advertencia */
#warning-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffcc00;
    color: black;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
    position: absolute; /* Posicionamiento absoluto para superponer */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el banner tanto vertical como horizontalmente */
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra para darle un efecto de elevación */
    animation: slideIn 0.5s ease-in-out; /* Animación al aparecer */
}

/* Estilo del botón */
#warning-banner button {
    background-color: red;
    color: white;
    border: none;
    margin-top: 15px;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 0px;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#warning-banner button:hover {
    background-color: #d32f2f; /* Color más oscuro al pasar el cursor */
}

/* Banner de advertencia por correo incorrecto */
#error-banner {
    display: none;
    background-color: #ffcc00;
    color: black;
    padding: 10px;
    line-height: 1.2;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
    position: absolute; /* Posicionamiento absoluto para superponer */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el banner tanto vertical como horizontalmente */
    width: 80%;
    max-width: 400px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra para darle un efecto de elevación */
    animation: slideIn 0.5s ease-out; /* Animación slide-in */
}

/* Estilo del botón */
#error-banner button {
    background-color: red;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 20px;
    margin-top: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

/* Animación de entrada del banner */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
#back-to-home {
    background-color: #ff9800; /* Color llamativo */
    color: white;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra ligera */
}

#back-to-home {
    background-color: transparent;
    color: #1a73e8;
    border: 2px solid #1a73e8;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none; /* Elimina subrayado */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Animación de rebote al pasar el mouse */
#back-to-home:hover {
    background-color: #1a73e8;
    color: white;
    transform: translateY(-2px);
}


/* Logo */
.logo {
    font-size: 24px;
    color: black; /* El color original del logo */
    margin: 0;
}

header a {
    text-decoration: none;
    color: black; /* O el color que prefieras para el logo */
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.publish-page {
    min-height: calc(100vh - 90px);
    background:
        radial-gradient(circle at top left, rgba(80, 173, 189, 0.25), transparent 35%),
        linear-gradient(135deg, #2A383C 0%, #213034 45%, #50ADBD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
}

.publish-card {
    width: 100%;
    max-width: 680px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
    border-top: 7px solid #50ADBD;
}

.publish-kicker {
    color: #50ADBD;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-size: 13px;
    margin-bottom: 14px;
}

.publish-card h2 {
    color: #2A383C;
    font-size: 36px;
    line-height: 1.12;
    margin-bottom: 18px;
}

.publish-subtitle {
    color: #3e4c50;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.publish-form {
    text-align: left;
}

.publish-form label {
    display: block;
    font-weight: 700;
    color: #2A383C;
    margin-bottom: 10px;
}

.publish-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    font-size: 15px;
    margin-bottom: 18px;
    background-color: #fff;
}

.publish-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
}

.publish-note {
    margin-top: 22px;
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.4;
}

.empresa-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.empresa-choice-card {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(42, 56, 60, 0.14);
    border-radius: 18px;
    padding: 26px;
    text-align: left;
    text-decoration: none;
    color: #2A383C;
    box-shadow: 0 12px 28px rgba(42, 56, 60, 0.10);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.empresa-choice-card:hover {
    transform: translateY(-4px);
    border-color: #50ADBD;
    box-shadow: 0 18px 40px rgba(42, 56, 60, 0.18);
}

.empresa-choice-highlight {
    border-color: rgba(80, 173, 189, 0.55);
}

.empresa-choice-badge {
    display: inline-block;
    background: rgba(80, 173, 189, 0.12);
    color: #2A383C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 7px 10px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.empresa-choice-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2A383C, #50ADBD);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.empresa-choice-card h3 {
    font-size: 21px;
    line-height: 1.2;
    margin: 0 0 10px 0;
    color: #2A383C;
}

.empresa-choice-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #536267;
    margin: 0 0 18px 0;
}

.empresa-choice-card strong {
    color: #50ADBD;
    font-size: 15px;
}

@media (max-width: 760px) {
    .empresa-choice-grid {
        display: block;
    }
}

.empresa-choice-card {
    margin-bottom: 20px;
}

.success-card {
    max-width: 720px;
    text-align: center;
}

.success-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 24px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #2A383C, #50ADBD);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    box-shadow: 0 12px 30px rgba(42, 56, 60, 0.25);
}

.success-checklist {
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.success-item {
    background: rgba(80, 173, 189, 0.08);
    border: 1px solid rgba(80, 173, 189, 0.16);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    color: #2A383C;
    font-size: 15px;
}

.company-portal-card {
    max-width: 980px;
}

.company-info-box {
    background: rgba(80, 173, 189, 0.10);
    border: 1px solid rgba(80, 173, 189, 0.22);
    border-radius: 14px;
    padding: 14px 18px;
    color: #2A383C;
    display: inline-flex;
    gap: 8px;
    margin: 8px auto 28px auto;
}

.company-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 18px;
}

@media (max-width: 760px) {
    .company-action-grid {
        display: block;
    }

    .company-action-grid .empresa-choice-card {
        margin-bottom: 20px;
    }
}

.vehicle-list-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 28px;
}

.vehicle-card {
    background: #ffffff;
    border: 1px solid rgba(42, 56, 60, 0.14);
    border-radius: 18px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 12px 28px rgba(42, 56, 60, 0.10);
}

.vehicle-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.vehicle-plate {
    display: inline-block;
    background: rgba(80, 173, 189, 0.12);
    color: #2A383C;
    font-weight: 800;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.vehicle-card h3 {
    color: #2A383C;
    margin: 0;
    font-size: 22px;
}

.vehicle-location,
.vehicle-date {
    color: #536267;
    font-size: 15px;
    margin: 12px 0;
}

.vehicle-status {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.status-pendiente_revision {
    background: #fff3cd;
    color: #856404;
}

.status-en_validacion {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-aprobada {
    background: #dcfce7;
    color: #166534;
}

.status-rechazada {
    background: #fee2e2;
    color: #991b1b;
}

.vehicle-action {
    display: inline-block;
    margin-top: 14px;
    color: #50ADBD;
    font-weight: 800;
    text-decoration: none;
}

.vehicle-action-disabled {
    display: inline-block;
    margin-top: 14px;
    color: #7b878b;
    font-weight: 700;
}

.empty-state-box {
    background: rgba(80, 173, 189, 0.08);
    border: 1px solid rgba(80, 173, 189, 0.18);
    border-radius: 18px;
    padding: 32px;
    margin-top: 26px;
}

.empty-state-box h3 {
    color: #2A383C;
    margin-top: 0;
}

.empty-state-box p {
    color: #536267;
}
.dashboard-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(80, 173, 189, 0.18), transparent 35%),
        linear-gradient(135deg, #2A383C 0%, #213034 45%, #50ADBD 100%);
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    padding: 34px;
}

.dashboard-sidebar {
    background: rgba(255,255,255,0.96);
    border-radius: 22px;
    padding: 24px;
    height: fit-content;
    position: sticky;
    top: 24px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

.dashboard-sidebar h3 {
    color: #2A383C;
    margin-top: 0;
}

.dashboard-sidebar a {
    display: block;
    padding: 12px 10px;
    color: #536267;
    text-decoration: none;
    font-weight: 700;
    border-radius: 10px;
}

.dashboard-sidebar a:hover {
    background: rgba(80, 173, 189, 0.12);
    color: #2A383C;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.dashboard-card {
    background: rgba(255,255,255,0.97);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    text-align: left;
}

.dashboard-card h2,
.dashboard-card h3 {
    color: #2A383C;
    margin-top: 0;
}

.dashboard-muted {
    color: #536267;
    line-height: 1.5;
}

.dashboard-warning {
    background: rgba(255, 193, 7, 0.14);
    border: 1px solid rgba(255, 193, 7, 0.35);
    color: #856404;
    padding: 14px;
    border-radius: 12px;
    margin-top: 16px;
    font-weight: 700;
}

.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-form textarea {
    min-height: 90px;
    resize: vertical;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: inherit;
}

@media (max-width: 900px) {
    .dashboard-page {
        display: block;
        padding: 20px;
    }

    .dashboard-sidebar {
        position: static;
        margin-bottom: 22px;
    }
}

.detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.detail-summary-grid div {
    background: rgba(80, 173, 189, 0.08);
    border: 1px solid rgba(80, 173, 189, 0.16);
    border-radius: 12px;
    padding: 14px;
    color: #2A383C;
    line-height: 1.4;
}

@media (max-width: 760px) {
    .detail-summary-grid {
        display: block;
    }

    .detail-summary-grid div {
        margin-bottom: 12px;
    }
}


.input-unit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-unit input {
    flex: 1;
}

.input-unit span {
    background: rgba(80, 173, 189, 0.12);
    color: #2A383C;
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: 800;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkbox-grid label {
    background: rgba(80, 173, 189, 0.08);
    border: 1px solid rgba(80, 173, 189, 0.16);
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    color: #2A383C;
}

.checkbox-grid input {
    width: auto;
    margin-right: 8px;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 20px 0;
}

.tag-grid span {
    background: rgba(80, 173, 189, 0.12);
    color: #2A383C;
    border: 1px solid rgba(80, 173, 189, 0.20);
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 14px;
}

@media (max-width: 760px) {
    .checkbox-grid {
        display: block;
    }

    .checkbox-grid label {
        display: block;
        margin-bottom: 10px;
    }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.photo-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(42, 56, 60, 0.14);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 10px 22px rgba(42, 56, 60, 0.10);
}

.photo-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.photo-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #50ADBD;
    color: white;
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    padding: 6px 10px;
}

.photo-delete-btn {
    width: 100%;
    margin-top: 10px;
    background: #fee2e2;
    color: #991b1b;
    font-weight: 800;
}

.photo-delete-btn:hover {
    background: #fecaca;
}

@media (max-width: 760px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.publish-status-box {
    margin-top: 24px;
    background: rgba(80, 173, 189, 0.08);
    border: 1px solid rgba(80, 173, 189, 0.18);
    border-radius: 16px;
    padding: 20px;
}

.publish-status-box ul {
    padding-left: 20px;
    line-height: 1.8;
    color: #2A383C;
    font-weight: 700;
}

.publish-live-btn {
    margin-top: 12px;
    width: 100%;
    font-weight: 800;
}

.status-published {
    background: #dcfce7;
    color: #166534;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
}
.status-paused {
    background: #fff3cd;
    color: #856404;
    padding: 14px;
    border-radius: 12px;
    font-weight: 800;
}

.cars-page {
    min-height: 100vh;
    background: #f9fafc;
}

.cars-hero {
    background:
        radial-gradient(circle at top left, rgba(80, 173, 189, 0.28), transparent 35%),
        linear-gradient(135deg, #2A383C 0%, #213034 45%, #50ADBD 100%);
    color: #ffffff;
    padding: 70px 24px;
    text-align: center;
}

.cars-hero h2 {
    color: #ffffff;
    font-size: 38px;
    max-width: 820px;
    margin: 10px auto 16px auto;
}

.cars-hero p {
    max-width: 720px;
    margin: 0 auto 28px auto;
    font-size: 17px;
    line-height: 1.5;
}

.cars-search-box {
    max-width: 980px;
    margin: 0 auto;
    background: rgba(255,255,255,0.96);
    border-radius: 20px;
    padding: 22px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    text-align: left;
}

.cars-search-box label {
    color: #2A383C;
    display: block;
    margin-bottom: 8px;
}

.cars-search-box button {
    height: 44px;
    white-space: nowrap;
}

.cars-results {
    max-width: 1100px;
    margin: 0 auto;
    padding: 38px 20px 70px 20px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.promo-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 12px 28px rgba(42, 56, 60, 0.10);
    border: 1px solid rgba(80, 173, 189, 0.16);
}

.promo-card h3 {
    color: #2A383C;
    margin-top: 0;
}

.promo-card p {
    color: #536267;
    line-height: 1.5;
}

.results-title {
    color: #2A383C;
    margin-bottom: 22px;
}

.car-list-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.public-car-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(42, 56, 60, 0.13);
    border: 1px solid rgba(42, 56, 60, 0.10);
    display: grid;
    grid-template-columns: 280px 1fr;
}

.public-car-card img,
.car-photo-placeholder {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #ffffff;
}

.public-car-body {
    padding: 24px;
}

.public-car-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
}

.public-car-header h3 {
    color: #2A383C;
    margin: 0;
    font-size: 24px;
}

.public-car-header strong {
    color: #2A383C;
    font-size: 20px;
    white-space: nowrap;
}

.public-car-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.public-car-tags span {
    background: rgba(80, 173, 189, 0.10);
    color: #2A383C;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 850px) {
    .cars-search-box {
        grid-template-columns: 1fr;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .public-car-card {
        grid-template-columns: 1fr;
    }
}

.car-detail-page {
    min-height: 100vh;
    background: #f9fafc;
}

.car-detail-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 20px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.car-gallery {
    background: #ffffff;
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 14px 34px rgba(42, 56, 60, 0.13);
}

.car-gallery > img,
.car-detail-placeholder {
    width: 100%;
    height: 460px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
}

.car-thumbnails button {
    border: 2px solid transparent;
    background: #ffffff;
    padding: 0;
    border-radius: 12px;
    cursor: pointer;
}

.car-thumbnails img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.booking-summary-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(42, 56, 60, 0.14);
    position: sticky;
    top: 18px;
}

.price-main {
    color: #2A383C;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 18px;
}

.price-main span {
    font-size: 15px;
    color: #536267;
}

.price-row,
.price-total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(42, 56, 60, 0.10);
}

.price-total {
    border-bottom: none;
    font-size: 18px;
    font-weight: 900;
    color: #2A383C;
    margin-top: 10px;
}

.car-detail-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px 70px 20px;
}

.car-detail-main {
    background: #ffffff;
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 14px 34px rgba(42, 56, 60, 0.10);
}

.car-detail-main h2 {
    color: #2A383C;
    font-size: 34px;
    margin-top: 0;
}

.car-detail-main h3 {
    color: #2A383C;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .car-detail-hero {
        grid-template-columns: 1fr;
    }

    .booking-summary-card {
        position: static;
    }

    .car-gallery > img,
    .car-detail-placeholder {
        height: 300px;
    }
}
