* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
}

/* HEADER */

.header {
    background: white;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-img {
    height: 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
}

.lang-globe {
    font-size: 14px;
}

.lang-option {
    text-decoration: none;
    color: #2C3E50;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: .2s;
}

    .lang-option:hover {
        background: #f3f4f6;
    }

    .lang-option.active {
        color: #EC4E20;
        background: rgba(236,78,32,.10);
    }

.lang-sep {
    color: #c7c7c7;
    font-weight: 600;
}

.btn-registrate-header {
    padding: 10px 30px;
    border: 2px solid #2C3E50;
    background: white;
    color: #2C3E50;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .btn-registrate-header:hover {
        background: #2C3E50;
        color: white;
    }

/* MAIN */

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    padding: 40px 20px;
}

/* CARD */

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 560px;
    padding: 50px 60px;
}

/* TEXT */

.login-title {
    font-size: 42px;
    font-weight: 700;
    color: #2C3E50;
    text-align: center;
    margin-bottom: 20px;
}

.login-description {
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.login-instruction {
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
}

/* FORM */

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

    .form-input:focus {
        outline: none;
        border-color: #EC4E20;
    }

/* PASSWORD CONTAINER */

.password-container {
    position: relative;
}

    .password-container .form-input {
        padding-right: 50px;
    }

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .toggle-password:hover {
        color: #666;
    }

.eye-icon {
    width: 20px;
    height: 20px;
}

/* FORGOT PASSWORD */

.forgot-password-container {
    text-align: right;
    margin-bottom: 25px;
    margin-top: -10px;
}

.forgot-password-link {
    color: #2C3E50;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    transition: .3s;
}

    .forgot-password-link:hover {
        color: #EC4E20;
    }

/* BUTTON */

.btn-login {
    width: 100%;
    padding: 16px;
    background: #EC4E20;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .btn-login:hover {
        background: #d44419;
    }

/* DIVIDER */

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

    .divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        background: white;
        padding: 0 15px;
        position: relative;
        color: #999;
    }

/* GOOGLE BUTTON */

.btn-gmail {
    width: 100%;
    padding: 14px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: .3s;
}

    .btn-gmail:hover {
        border-color: #4285f4;
        background: #f8f9fa;
    }

.google-icon {
    width: 20px;
    height: 20px;
}

/* ERROR */

.error-box {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* RESPONSIVE */

@media(max-width:768px) {

    .header {
        padding: 15px 20px;
    }

    .login-card {
        padding: 40px 30px;
    }

    .login-title {
        font-size: 32px;
    }
}

@media(max-width:480px) {

    .header {
        flex-direction: column;
        gap: 12px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    .login-description br {
        display: none;
    }

    .login-card {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 28px;
    }
}

.captcha-container {
    margin: 16px 0;
    display: flex;
    justify-content: center;
}