@import url("globals.css");

body {
    width: 100vw;
    overflow-x: hidden;
    overflow-y: auto !important;
    background-color: white !important;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.grid .left-grid {
    padding: 100px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background: url("../images/dark-bg.png");
    background-size: cover;
}

.grid .left-grid .content h2 {
    padding-bottom: 20px;
    color: white;
    font-size: 48px;
    max-width: 600px;
}

.grid .left-grid .content p {
    font-size: 20px;
    color: white;
    line-height: 30px;
}

.grid .right-grid {
    padding: 50px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.right-grid .languages {
    position: absolute;
    right: 50px;
    top: 50px;
}

.grid .right-grid h2 {
    width: 100%;
    max-width: 400px;
    text-align: left;
    font-size: 58px;
    margin-bottom: 20px;
}

.grid .btn-primary {
    padding: 12px 50px;
}

.remember-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.remember-box label {
    margin: 0px;
    display: flex;
    gap: 5px;
    align-items: center;
    cursor: pointer;
    white-space: pre;
}

.grid form {
    width: 100%;
    max-width: 400px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    max-width: 400px;
}

.forgot-password {
    display: block;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    transition: 0.2s linear;
}

.forgot-password:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.divider .line {
    height: 1px;
    flex-grow: 1;
    background: var(--stroke);
}

.create-account {
    width: 100%;
    max-width: 400px;
}

.role-container {
    display: flex;
    flex-direction: column;
}

.role-container label {
    margin: 10px 0 0;
}

.role-container label {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.role-container p {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.role-container .role-wrapper {
    display: flex;
    align-items: center;
}

label.role-wrapper {
    cursor: pointer;
}

.logo-absolute {
    position: absolute;
    left: 50px;
    top: 50px;
}

.btn-outline:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    color: white;
}

.lang-switcher-container {
    position: absolute;
    right: 50px;
    top: 50px;
}

.lang-switcher-container i {
    font-size: 24px;
}

[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    color: var(--text-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
}

[data-tooltip]:hover::before {
    opacity: 1;
}

.right-grid .logo {
    margin-bottom: 10px;
    display: none;
}
@media (max-width: 980px) {
    .grid .right-grid {
        justify-content: unset;
        width: 100%;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 20px !important;
    }

    .grid {
        min-height: 100vh;
    }
    .right-grid .logo {
        margin-bottom: 30px;
        display: block;
    }
    
    .right-grid .logo img {
        height: 30px;
    }
}
