
@font-face {
    font-family: system-ui;
    font-style: normal;
    font-weight: 300;
    src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma");
}

:root {
    --bg-color: #eef1f5;
    --card-bg: #ffffff;
    --text-color-dark: #333333;
    --text-color-light: #666666;
    --border-color: #e0e0e0;
    --input-bg: #f8f8f8;
    --primary-gradient: linear-gradient(to right, #7bcce6, #3159a5);
    --button-text-color: #e9e9e9;
    --border-radius-lg: 0px;
    --border-radius-md: 15px;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body {
    font-family: "system-ui";
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.main-container {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    width: 100%;
    height: -webkit-fill-available;
    position: relative;
}

.left-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #fffde7 100%);
}

.logo {
    position: absolute;
    top: 45px;
    left: 90px;
    background-color: var(--card-bg);
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    color: var(--text-color-dark);
    box-shadow: var(--shadow-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: #FFD700;
}

.form-section {
    max-width: 400px;
    width: 100%;
    margin: auto;
}

.form-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

.form-section p {
    font-size: 1rem;
    color: var(--text-color-light);
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius-md);
    background-color: var(--input-bg);
    font-size: 1rem;
    color: var(--text-color-dark);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
    background-color: #ffffff;
}

.password-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 70%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color-light);
    cursor: pointer;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius-md);
    background: var(--primary-gradient);
    color: var(--button-text-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    margin-top: 20px;
}

.btn-submit:hover {
    opacity: 0.9;
    box-shadow: var(--shadow-medium);
}

.social-login {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.social-btn:hover {
    background-color: var(--input-bg);
    box-shadow: var(--shadow-medium);
}

.social-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.footer-links {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color-dark);
}

.right-panel {
    flex: 1.5;
    background-color: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}

/* Efeito de slideshow aprimorado */
.right-panel {
    position: relative;
    overflow: hidden;
}

.right-panel .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: 
        opacity 1.8s cubic-bezier(0.25, 0.1, 0.25, 1),
        transform 30s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: scale(1.15);
    z-index: 1;
}

.right-panel .slide.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 2;
}

.right-panel .slide.fade-out {
    opacity: 0;
    transform: scale(1.12);
}

.alert {
    border-radius: 10px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #664d03;
}

@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
        width: 95%;
        min-height: auto;
    }

    .right-panel {
        display: none;
    }

    .left-panel {
        padding: 30px;
    }

    .logo {
        position: static;
        margin-bottom: 20px;
    }

    .form-section {
        max-width: none;
    }

    .footer-links {
        position: static;
        margin-top: 30px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}