:root {
    --primary: #ee151e;
    --primary-light: rgba(238, 21, 30, 0.1);
    --primary-lighter: rgba(238, 21, 30, 0.05);
    --dark: #000000;
    --darker: #030304;
    --light: #ffffff;
    --gray: #f3f4f6;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.navbar {
    padding: 1.25rem 0;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    margin: 0 10px;
    position: relative;
    padding: 8px 0 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.btn-nav {
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 700;
    transition: var(--transition);
    background: var(--primary);
    color: white;
    border: none;
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);     
    color: var(--light);            
}

.btn-primary:hover:active {
    background-color: var(--primary);
    border-color: var(--primary);     
    color: var(--light);            
}


.btn-primary:hover {
    background-color: #c91119;
    border-color: #c91119;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3); 
}

/* Hero Section - Vender */
.hero-section-vender {
    background: linear-gradient(135deg, var(--darker) 0%, #2a2a3a 100%);
    color: var(--light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section-vender::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/car-sell-hero.jpg');
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 20%, transparent 100%);
}

.hero-section-vender .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section-vender .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Progress Steps */
.progress-steps-section {
    background-color: var(--light);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
    max-width: 800px;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px; 
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--gray);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.progress-steps .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 8px;
    transition: var(--transition);
    border: 2px solid var(--gray);
}

.progress-steps .step.active .step-circle {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(238, 21, 30, 0.3);
}

.progress-steps .step.completed .step-circle {
    background-color: var(--primary);
    color: var(--light);
    border-color: var(--primary);
}

.progress-steps .step.completed .step-circle {
    font-size: 0;
}

.progress-steps .step.completed .step-circle::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem; 
}

.progress-steps .step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    transition: var(--transition);
}

.progress-steps .step.active .step-label {
    color: var(--primary);
    font-weight: 700;
}

.progress-steps .step.completed .step-label {
    color: var(--primary);
}

/* Form Sections */
.form-sections {
    background-color: var(--gray);
    min-height: 60vh;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: var(--transition);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-card .card-header {
    background-color: var(--light);
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-card .card-header h3 {
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.form-card .card-header h3 i {
    color: var(--primary);
}

.form-card .card-body {
    padding: 30px;
    background-color: var(--light);
}

.form-card .card-footer {
    background-color: var(--light);
    padding: 20px 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Form Elements */
.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-control, .form-select {
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(238, 21, 30, 0.25);
}

.select-with-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Buttons */
.btn-prev, .btn-next, .btn-submit {
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-prev {
    background-color: transparent;
    color: var(--dark);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.btn-prev:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-next, .btn-submit {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    box-shadow: 0 5px 15px rgba(238, 21, 30, 0.3);
}

.btn-next:hover, .btn-submit:hover {
    background-color: #c91119;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(238, 21, 30, 0.4);
}

.btn-next:disabled, .btn-submit:disabled {
    background-color: #cccccc;
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
}

/* Optional Features */
.optional-features, .vehicle-conditions {
    margin-top: 20px;
}

.btn-optional, .btn-condition {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--gray);
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-optional i, .btn-condition i {
    color: var(--primary);
    transition: var(--transition);
}

.btn-optional:hover, .btn-condition:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-check:checked + .btn-optional, 
.btn-check:checked + .btn-condition {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.btn-check:checked + .btn-optional i, 
.btn-check:checked + .btn-condition i {
    color: var(--primary);
}

/* Price Comparison */
.price-comparison-card {
    background-color: var(--gray);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.price-comparison-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.price-comparison-card h5 i {
    color: var(--primary);
    margin-right: 10px;
}

.price-bars {
    margin-bottom: 15px;
}

.price-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.price-bar .price-label {
    width: 80px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-bar .price-value {
    width: 100px;
    text-align: right;
    padding-right: 15px;
    font-weight: 600;
}

.price-bar .bar {
    height: 10px;
    border-radius: 5px;
    flex-grow: 1;
}

.price-bar.min .bar {
    background-color: rgba(238, 21, 30, 0.3);
}

.price-bar.avg .bar {
    background-color: rgba(238, 21, 30, 0.6);
}

.price-bar.max .bar {
    background-color: var(--primary);
}

.fipe-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--light);
    border-radius: 8px;
    font-weight: 600;
}

.fipe-label {
    color: #6b7280;
}

.fipe-value {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Photo Upload */
.photo-upload-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.photo-upload-item {
    aspect-ratio: 1/1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--gray);
    transition: var(--transition);
}

.photo-upload-label {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: var(--transition);
}

.photo-upload-label i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.photo-upload-label span {
    font-size: 0.9rem;
    font-weight: 600;
}

.photo-upload-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.photo-upload-item:hover .photo-upload-label {
    color: var(--primary);
}

.photo-preview {
    width: 100%;
    height: 100%;
    position: relative;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-remove-photo:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}

.btn-set-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-set-cover:hover {
    background-color: var(--primary);
}

.photo-requirements {
    background-color: var(--light);
    border-radius: 12px;
    padding: 15px;
}

.photo-requirements h6 {
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.photo-requirements h6 i {
    color: var(--primary);
    margin-right: 8px;
}

.photo-requirements ul {
    margin: 0;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Success Modal */
.success-icon {
    font-size: 5rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: bounceIn 0.6s;
}

@keyframes bounceIn {
    0% { transform: scale(0.1); opacity: 0; }
    60% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section-vender .hero-title {
        font-size: 2.2rem;
    }
    
    .progress-steps .step-label {
        font-size: 0.75rem;
    }
    
    .photo-upload-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section-vender {
        padding: 80px 0;
    }
    
    .hero-section-vender::before {
        width: 100%;
        opacity: 0.2;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .progress-steps .step {
        flex: 0 0 auto;
        padding: 0 10px;
    }
    
    .form-card .card-body {
        padding: 20px;
    }
    
    .photo-upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-section-vender .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-section-vender .hero-subtitle {
        font-size: 1rem;
    }
    
    .progress-steps .step-circle {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .form-card .card-header h3 {
        font-size: 1.3rem;
    }
    
    .photo-upload-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-prev, .btn-next, .btn-submit {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn-prev {
        margin-right: 0 !important;
    }
}

/* Adicione no final do arquivo */
.vehicle-type-selection .btn-optional {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.vehicle-type-selection .btn-check:checked + .btn-optional {
    transform: scale(1.05);
    box-shadow: 0 0 0 0.25rem rgba(238, 21, 30, 0.25);
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--light);
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary) 0%, #c91119 100%);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links h5 {
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    color: var(--light);
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--light);
    padding-left: 5px;
}

.footer-links a:hover::after {
    width: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 50px;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .profile-card.highlight {
        transform: none;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

/* How It Works Section - Enhanced */
.how-it-works {
    background-color: #f9fafc;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ee151e" fill-opacity="0.03" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.how-it-works .row.justify-content-center > .col-lg-8 {
    text-align: center;
}

.profile-tabs {
    background: white;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: inline-flex
}

.profile-tabs .nav-pills {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-tabs .nav-pills .nav-link {
    border-radius: 40px;
    /* CORREÇÃO AQUI: Padding padrão e correto para os botões INATIVOS */
    padding: 16px 30px !important; 
    font-weight: 700;
    color: var(--dark) !important;
    background-color: transparent;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}


.profile-tabs .nav-pills .nav-link span {
margin: 0 10px;
}    

.profile-tabs .nav-pills .nav-link i {
    margin-right: 8px;
    margin-left: 10px;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}



/* Efeito hover para botões que NÃO estão ativos */
.profile-tabs .nav-pills .nav-link:not(.active):hover {
    background-color: var(--primary-light);
}

/* Regra final e correta para o botão ATIVO */
.profile-tabs .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: var(--light) !important; /* Garante o texto branco */
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3);
    /* Padding generoso APENAS para o botão ativo, criando o "balão" */
    padding: 18px 35px; 

}

.profile-tabs .nav-pills .nav-link.active i {
    color: white;
}


.step-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(238, 21, 30, 0.05);
    line-height: 1;
    z-index: -1;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: var(--transition);
}

.step-card:hover .step-icon {
    background: var(--primary);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card p {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.step-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.step-image img {
    max-height: 100%;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.8);
}

.step-card:hover .step-image img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .profile-tabs .nav-pills .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 25px 20px;
    }
    
    .step-card h4 {
        min-height: auto;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .profile-tabs {
        border-radius: 15px;
        padding: 5px;
    }
    
    .profile-tabs .nav-pills {
        flex-direction: column;
    }
    
    .profile-tabs .nav-pills .nav-link {
        margin: 2px 0;
        border-radius: 10px;
        padding: 10px 15px;
        justify-content: flex-start;
    }
    
    .step-card {
        margin-bottom: 20px;
    }
    
    .step-card:hover {
        transform: none;
    }
    
    .step-image {
        height: 100px;
    }

    .profile-tabs .nav-pills .nav-link i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .step-card h4 {
        font-size: 1rem;
    }
    
    .step-card p {
        font-size: 0.85rem;
    }
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);     
    color: var(--light);            
}

.btn-primary:hover:active {
    background-color: var(--primary);
    border-color: var(--primary);     
    color: var(--light);            
}


.btn-primary:hover {
    background-color: #c91119;
    border-color: #c91119;
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.3); 
}


.btn-outline-primary {
    color: var(--primary);        
    border-color: var(--primary); 
}


.btn-outline-primary:hover {
    background-color: var(--primary); 
    color: var(--light);             
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(238, 21, 30, 0.2);
    border-color: var(--primary); 
}

.btn-outline-primary:hover:active {
    background-color: var(--primary);
    border-color: var(--primary);     
    color: var(--light);            
}

/* Adicione estas classes ao final do seu arquivo vender.css */

.plate-input-group .form-control {
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.plate-error-feedback {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 10px;
    height: 20px;
    display: block;
}

#manualEntryLink {
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition);
}

#manualEntryLink:hover {
    color: var(--primary);
}

/* --- ESTILOS PARA A BUSCA POR PLACA --- */

#plateSearchSection {
    animation: fadeIn 0.6s ease-in-out;
}

#vehiclePlate {
    height: 50px;
    letter-spacing: 2px;
}

#plateSubmitBtn {
    padding: 0 30px;
    min-width: 120px; /* Garante espaço para o texto e spinner */
}

.manual-entry-link {
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition);
}

.manual-entry-link:hover {
    color: var(--primary);
}

/* Adicionado para garantir a transição suave do d-none */
.d-none {
    display: none !important;
}

/* Garante que o texto de destaque no link manual pegue a cor primária */
.manual-entry-link strong {
    color: var(--primary);
    font-weight: 700; /* Pode ajustar ou remover se preferir */
}

/* Ajuste no botão de busca por placa */
#plateSubmitBtn {
    min-width: 120px;
}


/* --- Estilos para a Lista de Opcionais (Step 5) --- */
#optionalsList {
    min-height: 50px; /* Garante uma área mínima visível */
    padding: 10px;
    background-color: var(--gray);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.optional-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary);
    color: var(--light);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease-in-out;
}

.optional-tag span {
    margin-right: 10px;
}

.btn-remove-optional {
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.btn-remove-optional:hover {
    opacity: 1;
    transform: scale(1.1);
}

.avaria-entry {
    background-color: var(--gray);
    transition: background-color 0.3s ease;
}

.avaria-entry:hover {
    background-color: #e9ecef; 
}

.photo-upload-item.is-cover {
    border: 3px solid var(--primary);
    box-shadow: 0 0 15px rgba(238, 21, 30, 0.4);
}

.cover-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 5px;
}

#photo-feedback {
    color: var(--primary); 
    font-weight: 600;     
    font-size: 0.95rem;
    padding: 10px;
    background-color: var(--primary-lighter);
    border-radius: 8px;
    border: 1px solid var(--primary-light);
    transition: all 0.3s ease-in-out;
}

#photo-feedback::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f071\00a0"; 
}

.btn-profile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid var(--primary-light);
}

.btn-profile:focus {
    border-color: var(--primary);
}

.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.253);
    border: none;
}

.dropdown-item {
    font-weight: 600;
    padding: 10px 20px;
}

.dropdown-item:active{
    background-color: white;
    color: #000000;
}

.dropdown-item i {
    color: var(--primary);
}



/* ======================================== */
/* === ESTILOS PARA BLOCO DE PERMISSÃO ==== */
/* ======================================== */

.permission-denied-container {
    background-color: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.permission-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--primary-lighter);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.permission-modal-title {
    font-weight: 800;
    color: var(--dark);
}

.permission-modal-text {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.permission-modal-subtext {
    font-size: 0.95rem;
    color: var(--gray-medium);
}

.permission-denied-container .btn-secondary {
    background-color: var(--gray);
    border-color: var(--gray);
    color: var(--dark);
}

.permission-denied-container .btn-secondary:hover {
    background-color: var(--gray-light);
    border-color: var(--gray-light);
    color: var(--dark);
}

#vehiclePlate {
    text-transform: uppercase;
}