* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    color: #1a1a1a;
    min-height: 100vh;
}

/* ===== TELA DE LOGIN ===== */
.container-login {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
}

.card-login {
    background: #ffffff;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

.logo-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #dc2626;
}

.logo-empresa {
    font-size: 48px;
    font-weight: 900;
    color: #dc2626;
    letter-spacing: 4px;
    margin-bottom: 5px;
}

.subtitulo {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.login-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: #666;
}

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

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #dc2626;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.mensagem-erro {
    background: #fee;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    border: 1px solid #fcc;
    display: none;
}

.mensagem-erro:not(:empty) {
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.btn-entrar {
    width: 100%;
    padding: 16px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-entrar:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-entrar:active {
    transform: translateY(0);
}

.footer-login {
    margin-top: 25px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-login p {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* ===== PAINEL PRINCIPAL ===== */
.container-painel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-painel {
    background: #ffffff;
    border-bottom: 3px solid #dc2626;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-painel h1 {
    font-size: 32px;
    font-weight: 900;
    color: #dc2626;
    letter-spacing: 3px;
    margin-bottom: 2px;
}

.logo-painel span {
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-sair {
    padding: 10px 24px;
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sair:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.main-painel {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    width: 100%;
}

.alerta-sucesso {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.3);
}

.icone-sucesso {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: #dc2626;
    font-size: 36px;
    font-weight: 900;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.alerta-sucesso h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.alerta-sucesso p {
    font-size: 16px;
    opacity: 0.95;
}

.card-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 2px solid #f0f0f0;
}

.card-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #dc2626;
}

.btn-confirmar {
    width: 100%;
    padding: 18px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-confirmar:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.btn-confirmar:active {
    transform: translateY(0);
}

.mensagem-confirmacao {
    margin-top: 25px;
}

.sucesso-agendamento {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    animation: slideIn 0.5s ease;
}

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

.icone-check {
    width: 50px;
    height: 50px;
    background: #ffffff;
    color: #10b981;
    font-size: 32px;
    font-weight: 900;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.sucesso-agendamento h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
    border: none;
    padding: 0;
    color: #ffffff;
}

.sucesso-agendamento p {
    font-size: 15px;
    margin-bottom: 10px;
    text-align: left;
}

.sucesso-agendamento p strong {
    font-weight: 700;
}

.info-final {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-style: italic;
    text-align: center !important;
}

.info-seguranca {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #1a1a1a;
}

.info-seguranca h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.info-seguranca ul {
    list-style: none;
}

.info-seguranca li {
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.footer-painel {
    background: #1a1a1a;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-painel p {
    font-size: 13px;
}

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

    .logo-empresa {
        font-size: 38px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo-painel h1 {
        font-size: 28px;
    }

    .main-painel {
        padding: 20px 15px;
    }

    .card-form {
        padding: 25px 20px;
    }

    .alerta-sucesso {
        padding: 25px 20px;
    }

    .alerta-sucesso h2 {
        font-size: 22px;
    }
}
