@font-face{
    font-family: 'trebuc' ;
    src: url("./fonts/trebuc.ttf");
  }
  @font-face{
    font-family: 'Trebuchet';
    src: url("./fonts/Trebuchet-MS-Italic.ttf");
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'trebuc', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.container {
    display: grid;
    grid-template-columns: 70% 30%;
    height: 100vh;
}

/* Left Section Styles */
.left-section {
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 34, 126, 0.673) 0%, rgba(40, 52, 147, 0.125) 50%, rgba(57, 72, 171, 0.285) 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 60px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: -1px;
    margin: 0;
    color: white;
}

.logo-subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 4px;
    color: white;
}

.language-btn {
    background: transparent;
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.language-btn:hover {
    opacity: 0.8;
}

.content {
    flex: 1;
    max-width: 500px;
    margin-bottom: 40px;
}

.main-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    color: white;
}

.description {
    font-size: 18px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 300;
    color: white;
  
}

.cta-button {
    background: #1565c0;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    min-width: 160px;
}

.cta-button:hover {
    background: #0d47a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.4);
}

.footer-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 300;
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-link:hover {
    color: white;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Right Section Styles */
.right-section {
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

/* Header da seção direita */
.section-header {
    background:#500d0d;
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-logo {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -1px;
    margin: 0;
    color: white;
}

.section-subtitle {
    font-size: 12px;
    font-weight: 300;
    opacity: 0.9;
    margin-top: 2px;
    color: white;
}

.section-language-btn {
    background: transparent;
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    border-radius: 50%;
}

.section-language-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.section-language-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Container do formulário */
.login-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    max-width: 480px;
    width: 100%;
    align-self: center;
}


.login-title {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 24px;
    text-align: center;
}

.login-form {
    margin-bottom: 10px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #2196f3;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.input-label i {
    color: #2196f3;
    font-size: 16px;
}

.input-field {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    position: relative;
}

.input-field:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
    z-index: 3;
}

.password-toggle:hover {
    color: #2196f3;
}

.signin-button {
    width: 100%;
    background: #2196f3;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.signin-button:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.signin-button i {
    font-size: 16px;
}

.alternative-signin {
    margin-bottom: 20px;
}

.sso-button {
    width: 100%;
    background: white;
    color: #2196f3;
    border: 1px solid #2196f3;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 400;
}

.sso-button:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

.additional-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.link {
    color: #2196f3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.link:hover {
    color: #1976d2;
    text-decoration: underline;
}

.link i {
    font-size: 14px;
}

/* Footer da seção direita */
.section-footer {
    background: #000000;
    border-top: 1px solid #e9ecef;
    padding: 10px 16px;
    margin-top: auto;
}

.section-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom:2px;
}

.section-footer .footer-copyright {
    color: #6c757d;
    font-size: 12px;
    font-weight: 300;
}

.section-footer .footer-right {
    display: flex;
    gap: 16px;
}

.section-footer .footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
    font-weight: 300;
}

.section-footer .footer-link:hover {
    color: #495057;
    text-decoration: underline;
}

.section-footer .footer-bottom {
    text-align: center;
    padding-top:0px;

}

.section-footer .footer-bottom p {
    color: #6c757d;
    font-size: 10px;
    margin: 0;
    font-weight: 300;
}

/* Additional form styling */
.input-field::placeholder {
    color: #999;
    font-style: italic;
}

/* Hover effects for input fields */
.input-field:hover {
    border-color: #bbb;
}

/* Focus animation */
.input-field:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.input-field:focus ~ .input-icon {
    color: #1976d2;
    transform: translateY(-50%) scale(1.1);
    transition: all 0.3s ease;
}

/* Button hover effects */
.signin-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

/* Link hover effects */
.link:hover i {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Password toggle button improvements */
.password-toggle:focus {
    outline: none;
    color: #2196f3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 1fr; /* Reduzir altura do slider */
    }
    
    .left-section {
        height: 20px; /* Reduzir significativamente o slider */
    }
    
    .slide-content {
        padding: 1px;
    }
    
    .main-heading {
        font-size: 20px; /* Reduzir tamanho do título */
        margin-bottom: 12px;
    }
    
    .description {
        font-size: 14px; /* Reduzir tamanho da descrição */
        margin-bottom: 16px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .carousel-nav {
        bottom: 16px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .right-section {
        padding: 0;
    }
    
    .section-header {
        padding: 12px 16px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 10px;
    }
    
    .login-container {
        padding:  2px !important;
        margin:0 !important;
        max-width: 100%;
    }
    
    .login-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .input-field {
        padding: 12px 16px 12px 40px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .input-icon {
        font-size: 14px;
        left: 12px;
    }
    
    .signin-button {
        padding: 14px;
        font-size: 16px;
    }
    
    .section-footer {
        padding: 12px 16px;
    }
    
    .section-footer .footer-content {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .section-footer .footer-right {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        height: 100vh;
    }
    
    .left-section {
        height: 200px; /* Ainda menor para telas muito pequenas */
    }
    
    .slide-content {
        padding: 6px;
    }
    
    .main-heading {
        font-size: 16px;
        margin-bottom: 2px;
    }
    
    .description {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .cta-button {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .carousel-nav {
        bottom: 8px;
    }
    
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
    }
    
    .section-header {
        padding: 2px 8px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .section-subtitle {
        font-size: 9px;
    }
    
    .login-container {
        padding:  2px;
        margin: 2px;
    }
    
    .login-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .input-field {
        padding: 10px 12px 10px 36px;
        font-size: 14px;
    }
    
    .input-icon {
        font-size: 12px;
        left: 10px;
    }
    
    .signin-button {
        padding: 12px;
        font-size: 14px;
    }
    
    .section-footer {
        padding: 8px 12px;
    }
    
    .section-footer .footer-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .section-footer .footer-right {
        flex-direction: column;
        gap: 6px;
    }
    
    .section-footer .footer-copyright,
    .section-footer .footer-link {
        font-size: 10px;
    }
    
    .section-footer .footer-bottom p {
        font-size: 12px;
    }
}
