/* ===========================
   ESTILOS GLOBAIS
   =========================== */

/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: whitesmoke;
    min-height: 100vh;
}

/* ===========================
   PÁGINA DE LOGIN
   =========================== */

.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px;
    animation: fadeInUp 0.5s ease;
}

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

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.login-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #718096;
    font-size: 14px;
    margin: 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon svg {
    position: absolute;
    left: 16px;
    color: #a0aec0;
    pointer-events: none;
    z-index: 1;
}

.input-icon input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f7fafc;
}

.input-icon input:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #a0aec0;
    transition: color 0.2s ease;
    z-index: 1;
}

.toggle-password:hover {
    color: #667eea;
}

.footer-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* ===========================
   PÁGINA DE BOLETOS
   =========================== */

/* Efeito hover nos cards */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Tabela responsiva */
.table-responsive {
    border-radius: 0;
    overflow-x: auto;
}

tbody tr {
    transition: all 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02) !important;
}

/* ===========================
   RESPONSIVIDADE
   =========================== */

/* Mobile */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 24px;
    }

    .login-title {
        font-size: 24px;
    }

    .icon-circle {
        width: 64px;
        height: 64px;
    }

    .icon-circle svg {
        width: 32px;
        height: 32px;
    }

    /* Ajustes da tabela de boletos */
    .table {
        font-size: 0.875rem;
    }

    .table td, .table th {
        padding: 0.5rem !important;
        white-space: nowrap;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .login-wrapper {
        padding: 15px;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .login-container {
        max-width: 480px;
    }
}