﻿:root {
    --blueColor: #1D53D8;
    --secondaryColor: #DBEAFE;
}

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

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;*/
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    background: #f8f9fa;
    min-height: 100vh;
    position: relative;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
}

.color-primary {
    color: var(--blueColor);
}

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

.logo-icon {
    width: 28px;
    height: 28px;
    background: #4285f4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #4285f4;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-select {
    color: #6b7280;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    padding: 6px 32px 6px 12px;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="%236b7280"%3e%3cpath fill-rule="evenodd" d="M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z" clip-rule="evenodd"/%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    outline: none;
}

    .language-select:hover {
        background-color: #f9fafb;
    }

    .language-select:focus {
        border-color: var(--blueColor);
        /*box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);*/
    }

.language-button {
    color: #6b7280;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    border: 1px solid #e5e7eb;
    padding: 6px 12px;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .language-button:hover {
        background: #f9fafb;
    }

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

    .language-dropdown.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.dropdown-item {
    padding: 8px 12px;
    color: #374151;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background-color 0.2s;
}

    .dropdown-item:hover {
        background: #f3f4f6;
    }

    .dropdown-item.active {
        background: #eff6ff;
        color: #2563eb;
    }

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    display: inline-block;
}

.flag-us {
    background: linear-gradient(to bottom, #b22234 0%, #b22234 7.69%, #ffffff 7.69%, #ffffff 15.38%, #b22234 15.38%, #b22234 23.07%, #ffffff 23.07%, #ffffff 30.76%, #b22234 30.76%, #b22234 38.45%, #ffffff 38.45%, #ffffff 46.14%, #b22234 46.14%);
    position: relative;
}

    .flag-us::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 40%;
        height: 46.14%;
        background: #3c3b6e;
    }

.flag-es {
    background: linear-gradient(to bottom, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%);
}

.flag-fr {
    background: linear-gradient(to right, #0055a4 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ef4135 66.66%);
}

.flag-de {
    background: linear-gradient(to bottom, #000000 33.33%, #dd0000 33.33%, #dd0000 66.66%, #ffce00 66.66%);
}

.flag-it {
    background: linear-gradient(to right, #009246 33.33%, #ffffff 33.33%, #ffffff 66.66%, #ce2b37 66.66%);
}

.sign-in-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.register-btn {
    background: #6366f1;
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 0 80px;
}

.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    background: #f8f9fa;
}

.title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    height: 220px;
    position: relative;
    overflow: hidden;
}

.slide-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

.sign-in-text {
    color: #111827;
}

.manage-text {
    color: var(--blueColor);
}

.awesome-text {
    color: #111827;
}

.stuffs-text {
    color: #111827;
}

.account-text {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

    .account-text a {
        color: #6366f1;
        text-decoration: none;
    }

.form-container {
    width: 100%;
    max-width: 400px;
}

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

.form-input {
    width: 100%;
    padding: 20px 16px;
    /* border: 1px solid #e5e7eb; */
    border: 1px solid #c0c2c5;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
}

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

    .form-input:focus {
        border-color: var(--blueColor);
    }

.text-center {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 24px;
}

.link {
    color: var(--blueColor);
    text-decoration: none;
    font-weight: 500;
}

    .link:hover {
        color: var(--blueColor);
    }


.text-header {
    font-size: 32px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    text-align: center;
}

.label {
    color: #6b7280;
}

.label-primary {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.login-btn {
    width: 100%;
    background: var(--blueColor);
    color: white;
    border: none;
    padding: 20px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 24px;
    margin-top: 10px;
}

    .login-btn:hover {
        color: white !important;
    }

.divider {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 24px;
    position: relative;
}

    .divider::before,
    .divider::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 45%;
        height: 1px;
        background: #e5e7eb;
    }

    .divider::before {
        left: 0;
    }

    .divider::after {
        right: 0;
    }

.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    width: 65px;
    height: 65px;
    /* border: 1px solid #e5e7eb; */
    border: 1px solid #c0c2c5;
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .social-btn:hover {
        border-color: var(--blueColor);
    }

.field-validation-error:before {
    display: none;
}

.grecaptcha-badge {
    bottom: 94px !important;
}

/* Facebook icon */
.facebook-icon {
    width: 20px;
    height: 20px;
    background: #1877f2;
    border-radius: 3px;
    position: relative;
}

    .facebook-icon::after {
        content: 'f';
        color: white;
        font-family: Arial, sans-serif;
        font-weight: bold;
        font-size: 14px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.btn-toggle-eye {
    position: absolute;
    right: 12px;
    /*    top: 50%;
    transform: translateY(-50%);*/
    background: none;
    border: none;
    cursor: pointer;
    height: 60px;
    align-items: center;
}

.icon-eye-slash {
    display: none;
}

.btn-toggle-eye.is-hidden .icon-eye {
    display: none;
}

.btn-toggle-eye.is-hidden .icon-eye-slash {
    display: inline;
}

.password-wrapper {
    position: relative;
}

._password-help {
    position: absolute;
    content: '';
    top: calc(50% - 74px);
    right: -240px;
    width: 220px;
    background-color: var(--secondaryColor);
    padding: 20px 20px 17px;
    border-radius: 16px;
    z-index: 1;
    min-height: 140px;
    line-height: 1.84;
}

    ._password-help::after {
        position: absolute;
        content: '';
        width: 12px;
        height: 10px;
        top: calc(50% - 5px);
        left: -6px;
        /*background-image: url(../images/arrow-help.svg);*/
        background-repeat: no-repeat;
        background-position: center;
        background-size: 12px 10px;
        background-color: var(--secondaryColor);
        transform: rotate(45deg);
    }

@media (max-width: 768px) {
    ._password-help {
        top: calc(100% + 10px);
        right: 0px;
    }
}

@media (max-width: 768px) {
    ._password-help::after {
        display: none;
    }
}

.white {
    color: #fff;
}

.help-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ed1c24;
    margin-right: 8px;
}

    .help-status .status-correct {
        display: none;
    }

.help-status__row {
    display: flex;
    align-items: center;
}

    .help-status__row.correct .help-status {
        background-color: transparent;
        border-radius: 0px;
        width: 11px;
        height: 8px;
        margin-right: 4px;
    }

    .help-status__row.correct .status-correct {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .help-status__row.correct .help-text {
        text-decoration: line-through;
        -webkit-text-decoration-color: #6be7ad;
        text-decoration-color: #6be7ad;
    }

.help-text {
    font-size: 12px;
    font-weight: regular;
}


/* Apple icon */
.apple-icon {
    width: 20px;
    height: 24px;
    background: #000;
    border-radius: 6px 6px 4px 4px;
    position: relative;
}

    .apple-icon::before {
        content: '';
        position: absolute;
        top: -3px;
        right: 3px;
        width: 4px;
        height: 4px;
        background: #000;
        border-radius: 50%;
    }

/* Google icon */
.google-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #4285f4 25%, #ea4335 25%, #ea4335 50%, #fbbc05 50%, #fbbc05 75%, #34a853 75%);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .right-section {
        display: none !important;
    }

    .left-section {
        flex: 1;
        padding: 0 40px;
        background: #fff;
    }

    .language-dropdown.show {
        background: #fff;
    }
}

@media (max-height: 600px) {
    .form-container {
        margin-top: 65px;
        margin-bottom: 20px;
    }
}
