@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --blue-dark: #040858;
    --blue-white: #0b3ca8;
    --blue: #0c7ada;
    --cyano: #2525ee;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

.container-login {
    position: relative;
    min-height: 100vh;
    background-image: url("../img/bg-tracking.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Background decorative elements */
.bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}


/* Main content */
.main-content {
    display: flex;
    max-width: 1000px;
    width: 80%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 400px;
}

.welcome-section {
    flex: 1;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    padding: 80px 40px;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-circle {
    width: 55px;
    height: 55px;
    background-image: url('../img/logo-pequeno.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 15px;
    box-shadow: 2px 2px 5px #11111161;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.welcome-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 16px;
    opacity: 0.9;
    line-height: 1.5;
}

.login-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form {
    margin: 40px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--blue-white);
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #9baed3;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--blue-white);
    box-shadow: 0 0 5px var(--blue);
}

.form-group input::placeholder {
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #6b7280;
}

.checkbox-container input {
    margin-right: 8px;
}

.forgot-password {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.form-buttons {
    display: flex;
    gap: 15px;
}

.btn2 {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary2 {
    background: var(--blue-white);
    color: white;
    transition: all 0.3s ease;
}

.btn-primary2:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--blue-white);
    border: 2px solid var(--blue-white);
}

.btn-secondary:hover {
    background: var(--blue-white);
    color: white;
    transform: translateY(-2px);
}

.social-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    flex-direction: column;
}

.social-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--blue-white);
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.social-link i{
    font-size: 1.3rem;
}

.facebook {
    background: #1877f2;
    color: white;
}

.whatsapp {
    background: #05801b;
    color: white;
}

.twitter {
    background: #1da1f2;
    color: white;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link:hover {
    color: white !important;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .main-content {
        flex-direction: column;
        max-width: 400px;
        width: 100%;
        min-height: auto;
    }

    .welcome-section {
        padding: 40px 30px;
        text-align: center;
    }

    .welcome-title {
        font-size: 36px;
    }

    .login-section {
        padding: 40px 30px;
    }

    .form-buttons {
        flex-direction: column;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .social-section {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .welcome-section {
        padding: 30px 20px;
    }

    .login-section {
        padding: 30px 20px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .form-group input {
        padding: 12px;
        font-size: 14px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }
    
    .login-form {
        margin: 20px 0;
    }

    .logo {
        justify-content: center;
        margin-bottom: 20px;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 14px;
    }
}