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

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    overflow: hidden;
}

/* ── Layout principal ── */
.page-wrapper {
    display: flex;
    height: 100vh;
}

/* ── Painel esquerdo ── */
.slider-panel {
    flex: 1 1 65%;
    background-color: #cc960277;
    background-image: url('logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px;
    overflow: hidden;
}

.slider-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(201, 164, 64, 0.452);
    z-index: 1;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.slide-content {
    position: absolute;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    width: 100%;
    padding: 0 60px;
}

.slide-content.active {
    opacity: 1;
}

.slide-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1;
}

.brand-text {
    color: #6B4500;
}

.brand-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    background: #CC6200;
    border-radius: 50%;
    color: #C9A440;
    font-size: 4rem;
    margin: 0 -0.05em;
    line-height: 1;
}

.slide-title {
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.slide-subtitle {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
}

.tagline {
    position: absolute;
    bottom: 80px;
    right: 40px;
    color: #6B4500;
    font-size: 0.95rem;
    font-weight: 600;
}

.slider-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

/* ── Painel direito ── */
.login-panel {
    flex: 0 0 35%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 100%;
    max-width: 360px;
    padding: 48px 40px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    margin: 20px;
}

.login-box h1 {
    font-size: 1.8rem;
    color: #CC7A00;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
}

.login-subtitle {
    color: #999;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 28px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.2s;
    outline: none;
    background: #fff;
}

.input-group input::placeholder {
    color: #bbb;
}

.input-group input:focus {
    border-color: #F5A020;
}

.error-msg {
    color: #d32f2f;
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: none;
}

.btn-login {
    width: 100%;
    background: #F5A020;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #e09010;
}

.btn-login:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Botão Esqueci minha senha */
.btn-forgot-password {
    width: 100%;
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-forgot-password:hover {
    background: #f5f5f5;
    border-color: #F5A020;
    color: #F5A020;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.btn-close:hover {
    color: #333;
}

.modal-body {
    padding: 24px;
}

.modal-description {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.reset-msg {
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: none;
}

.reset-msg.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.reset-msg.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: #E09010;
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-change-password {
    width: 100%;
    background: #856A10;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-change-password:hover {
    background: #967A18;
}