/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== VARIÁVEIS DE CORES (TEMA AZUL) ===== */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    --secondary-color: #95a5a6;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --border-color: #ecf0f1;
    --white: #ffffff;
}

/* ===== HEADER COM LOGO ===== */
.header-with-logo {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-header {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-fallback-header {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-header:not([src]) + .logo-fallback-header,
.logo-header[src=""] + .logo-fallback-header,
.logo-header[src*="undefined"] + .logo-fallback-header {
    display: block;
}

.header-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.header-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.5rem;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: var(--white);
}

/* User Info no Header */
.user-info-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-right: 1rem;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.7rem;
    opacity: 0.9;
}

/* ===== PÁGINA DE LOGIN ===== */
.login-body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(52, 152, 219, 0.2);
    width: 100%;
    max-width: 420px;
    margin: 20px;
}

/* Área da Logo no Login */
.logo-area {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.logo-fallback {
    display: none;
}

.logo-fallback h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.logo-fallback p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
}

.logo-image:not([src]) + .logo-fallback,
.logo-image[src=""] + .logo-fallback,
.logo-image[src*="undefined"] + .logo-fallback {
    display: block;
}

/* ===== FORMULÁRIOS ===== */
.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

input#placa {
    text-transform: uppercase;
}

.disabled-input {
    background: var(--bg-light);
    color: var(--text-light);
    cursor: not-allowed;
    border: 1px solid var(--border-color);
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #ecf0f18c;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outlinehover {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}


.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-warning:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== CHECKLIST - BOTÕES MODERNOS ===== */
.checklist-items {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checklist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--white), var(--bg-light));
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.checklist-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.checklist-item-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist-item-label::before {
    content: '📋';
    font-size: 1.2rem;
}

.checklist-radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-option {
    position: relative;
    flex: 1;
    min-width: 120px;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem;
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
    transition: all 0.3s ease;
}

.radio-label.conforme::before {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
}

.radio-label.nao-conforme::before {
    background: linear-gradient(135deg, var(--danger-color), #c0392b);
}

.radio-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #bdc3c7;
}

.radio-option input[type="radio"]:checked + .radio-label {
    border-color: var(--primary-color);
    background: #f0f8ff;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.radio-option input[type="radio"]:checked + .radio-label.conforme {
    border-color: var(--success-color);
    background: #f0f9f0;
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.2);
}

.radio-option input[type="radio"]:checked + .radio-label.nao-conforme {
    border-color: var(--danger-color);
    background: #fef0f0;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.2);
}

.radio-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.radio-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-label .radio-icon {
    transform: scale(1.1);
}

.radio-option input[type="radio"]:checked + .radio-label.conforme .radio-icon {
    color: var(--success-color);
}

.radio-option input[type="radio"]:checked + .radio-label.nao-conforme .radio-icon {
    color: var(--danger-color);
}

/* ===== DASHBOARD E ESTATÍSTICAS ===== */
.dashboard {
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.stat-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* ===== SEÇÕES ADMIN ===== */
.admin-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.admin-section:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.admin-section h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== AÇÕES RÁPIDAS ===== */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.quick-action-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
    text-decoration: none;
    color: inherit;
}

.quick-action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-action-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.quick-action-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== TABELAS ===== */
.table-responsive {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
    background: var(--white);
}

.data-table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:nth-child(even) {
    background: var(--bg-light);
}

.data-table tr:hover {
    background: #f0f8ff;
}

/* ===== BOTÕES DE AÇÃO ===== */
.action-buttons {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    align-items: center;
}

.action-buttons .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.table-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    min-width: 120px;
}

.action-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.primary-actions {
    display: flex;
    gap: 0.3rem;
}

.secondary-actions {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.btn-icon {
    font-size: 0.9rem;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.conforme {
    background: #d5f4e6;
    color: var(--success-color);
}

.status-badge.nao_conforme {
    background: #fadbd8;
    color: var(--danger-color);
}

.status-badge.ativo {
    background: #d5f4e6;
    color: var(--success-color);
}

/* ===== CHECKLISTS OVERVIEW ===== */
.checklists-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checklist-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.checklist-card.conforme {
    border-left: 4px solid var(--success-color);
}

.checklist-card.com-problema {
    border-left: 4px solid var(--danger-color);
    background: #fdf2f2;
}

.checklist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checklist-info h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.checklist-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.checklist-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.checklist-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.problemas-count {
    background: var(--danger-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Grid de itens do checklist */
.itens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid #bdc3c7;
    transition: all 0.3s;
}

.item:hover {
    transform: translateX(3px);
}

.item.conforme {
    border-left-color: var(--success-color);
    background: #d5f4e6;
}

.item.nao_conforme {
    border-left-color: var(--danger-color);
    background: #fadbd8;
}

.item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.item-status {
    font-size: 1rem;
}

.observacoes {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ===== ESTADO VAZIO ===== */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    color: var(--text-light);
}

.empty-state p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.empty-state p:first-child {
    font-weight: 600;
    color: #495057;
}

/* ===== ALERTS ===== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.alert.error {
    background: #fadbd8;
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.alert.success {
    background: #d5f4e6;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

/* ===== FORMULÁRIO DE CHECKLIST ===== */
.checklist-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
    border-top: 4px solid var(--primary-color);
}

.form-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-logo {
        justify-content: center;
    }
    
    .logo-header {
        height: 40px;
        max-width: 150px;
    }
    
    .header-nav {
        justify-content: center;
        width: 100%;
    }
    
    .user-info-header {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .checklist-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .checklist-radio-group {
        width: 100%;
    }
    
    .radio-option {
        min-width: calc(50% - 0.5rem);
    }
    
    .radio-label {
        min-height: 70px;
        padding: 0.8rem 0.3rem;
    }
    
    .radio-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .radio-text {
        font-size: 0.8rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .table-actions {
        grid-template-columns: 1fr;
    }
    
    .action-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .checklist-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checklist-status {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .itens-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .checklist-actions {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    
    .login-container {
        margin: 10px;
        padding: 1.5rem;
    }
    
    .logo-image {
        max-height: 100px;
        max-width: 280px;
    }
    
    .logo-area {
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo-header {
        height: 35px;
        max-width: 120px;
    }
    
    .header-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .header-nav .btn {
        width: 100%;
        text-align: center;
    }
    
    .user-info-header {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
    }
    
    .page-title {
        font-size: 1.3rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .itens-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-card {
        padding: 1rem;
    }
    
    .data-table {
        font-size: 0.875rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .checklist-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .login-container {
        margin: 10px;
        padding: 1.5rem;
    }
    
    .logo-image {
        max-height: 80px;
        max-width: 240px;
    }
    
    .logo-area {
        margin-bottom: 1rem;
    }
    
    .logo-fallback h1 {
        font-size: 1.5rem;
    }
    
    .logo-fallback p {
        font-size: 0.9rem;
    }
    
    .radio-option {
        min-width: 100%;
    }
    
    .checklist-radio-group {
        gap: 0.5rem;
    }
    
    .radio-label {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0.5rem;
        min-height: 50px;
        padding: 0.8rem 1rem;
        text-align: left;
    }
    
    .radio-icon {
        margin-bottom: 0;
        font-size: 1.2rem;
    }
}

/* Para telas muito grandes */
@media (min-width: 1200px) {
    .logo-image {
        max-height: 150px;
    }
}

/* Efeitos de foco para acessibilidade */
.radio-option input[type="radio"]:focus + .radio-label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animações suaves */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.radio-option input[type="radio"]:checked + .radio-label {
    animation: pulse 0.3s ease;
}

/* Estados de validação */
.checklist-item.required .checklist-item-label::after {
    content: '*';
    color: var(--danger-color);
    margin-left: 0.2rem;
}

/* Informações de veículo e motorista */
.veiculo-info, .motorista-info {
    font-size: 0.9rem;
}

.veiculo-info strong, .motorista-info strong {
    display: block;
    margin-bottom: 0.2rem;
}

.veiculo-info small, .motorista-info small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.text-muted {
    color: var(--text-light);
    font-style: italic;
}

/* Efeitos hover suaves na logo */
.logo-header, .logo-image {
    transition: transform 0.3s ease;
}

.logo-header:hover, .logo-image:hover {
    transform: scale(1.02);
}

/* Cagada que eu fiz no footer */

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: #ffffff;
            color: #2c3e50;
            line-height: 1.6;
        }
        
        .container {
            flex: 1;
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            width: 100%;
        }
        
        .content {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border: 1px solid #e9ecef;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 1.5rem;
            color: #2c3e50;
        }
        
        p {
            margin-bottom: 1rem;
        }
        
        .code-example {
            background: #f8f9fa;
            border-left: 4px solid #6c757d;
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
            font-family: 'Courier New', monospace;
            border: 1px solid #e9ecef;
        }
        
        /* Footer Styles */
        .site-footer {
            background-color: #f8f9fa;
            color: #6c757d;
            padding: 20px;
            font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
            font-size: 14px;
            border-top: 1px solid #e9ecef;
            margin-top: auto;
        }

        .footer-inner {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            gap: 15px;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .footer-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .tech-link {
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: rgba(108, 117, 125, 0.1);
            font-size: 20px;
            text-decoration: none;
        }

        .php-icon {
            color: #787cb5;
        }

        .css-icon {
            color: #264de4;
        }

        .tech-link:hover {
            transform: translateY(-2px);
            background: rgba(108, 117, 125, 0.15);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .tech-text {
            font-size: 14px;
            color: #6c757d;
            font-weight: 500;
        }

        .tech-text strong {
            color: #495057;
        }

        .footer-right {
            font-size: 14px;
        }

        .author {
            color: #495057;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.2s ease;
            padding: 4px 8px;
            border-radius: 4px;
        }

        .author:hover {
            color: #787cb5;
            background: rgba(108, 117, 125, 0.1);
        }

        /* mobile */
        @media (max-width: 640px) {
            .footer-inner {
                flex-direction: column;
                align-items: center;
                gap: 10px;
                text-align: center;
            }

            .footer-right {
                margin-top: 5px;
            }
            
            .container {
                padding: 1rem;
            }
            
            .content {
                padding: 1.5rem;
            }
        }
        
        .highlight {
            color: #787cb5;
            font-weight: 600;
        }
        
        .color-sample {
            display: inline-block;
            width: 16px;
            height: 16px;
            background: #f8f9fa;
            border-radius: 3px;
            margin: 0 5px;
            vertical-align: middle;
            border: 1px solid #dee2e6;
        }
        
        .color-info {
            background: #e7f3ff;
            padding: 12px 15px;
            border-radius: 8px;
            margin: 15px 0;
            border-left: 4px solid #787cb5;
            font-size: 14px;
        }
        /* Links de login/registro */
.login-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-links p {
    margin: 0.5rem 0;
}

.login-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Campos de código */
input[type="text"][pattern="[0-9]{6}"] {
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Estados de validação de senha */
.senha-valida {
    border-color: var(--success-color) !important;
}

.senha-invalida {
    border-color: var(--danger-color) !important;
}