﻿:root {
    --scale: 100; /* You can change this value */
    --px-4: calc(4px * var(--scale) / 100); /* 4px scaled */
    --px-8: calc(8px * var(--scale) / 100); /* 8px scaled */
    --px-12: calc(12px * var(--scale) / 100); /* 12px scaled */
    --px-16: calc(16px * var(--scale) / 100); /* 16px scaled */
    --px-20: calc(20px * var(--scale) / 100); /* 20px scaled */
    --px-24: calc(24px * var(--scale) / 100); /* 24px scaled */
    --px-28: calc(28px * var(--scale) / 100); /* 28px scaled */
    --px-32: calc(32px * var(--scale) / 100); /* 32px scaled */
    --px-36: calc(36px * var(--scale) / 100); /* 36px scaled */
    --px-40: calc(40px * var(--scale) / 100); /* 40px scaled */
    --px-44: calc(44px * var(--scale) / 100); /* 44px scaled */
    --px-48: calc(48px * var(--scale) / 100); /* 48px scaled */
    --px-52: calc(52px * var(--scale) / 100); /* 52px scaled */
    --px-56: calc(56px * var(--scale) / 100); /* 56px scaled */
    --px-60: calc(60px * var(--scale) / 100); /* 60px scaled */
    --px-64: calc(64px * var(--scale) / 100); /* 64px scaled */
    --px-68: calc(68px * var(--scale) / 100); /* 68px scaled */
    --px-72: calc(72px * var(--scale) / 100); /* 72px scaled */
    --px-76: calc(76px * var(--scale) / 100); /* 76px scaled */
    --px-80: calc(80px * var(--scale) / 100); /* 80px scaled */
    --px-84: calc(84px * var(--scale) / 100); /* 84px scaled */
    --px-88: calc(88px * var(--scale) / 100); /* 88px scaled */
    --px-92: calc(92px * var(--scale) / 100); /* 92px scaled */
    --px-96: calc(96px * var(--scale) / 100); /* 96px scaled */
    --px-100: calc(100px * var(--scale) / 100); /* 100px scaled */
    --px-280: calc(280px * var(--scale) / 100);
    --px-584: calc(600px * var(--scale) / 100);
    --px-600: calc(600px * var(--scale) / 100);
    /* Color */
    --color-50: #eef8ff;
    --color-100: #daeeff;
    --color-200: #bce3ff;
    --color-300: #8fd3ff;
    --color-400: #5ab8ff;
    --color-500: #3398fe;
    --color-600: #1877f3;
    --color-700: #1562e0;
    --color-800: #1850b5;
    --color-900: #1a468e;
    --color-950: #142c57;
    --color-white: #ffffff;
    --color-title: #231F20;

    /* Border color */
    --border: #ccc;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Montserrat;
}

.wrapper {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-image: linear-gradient(to right, var(--color-100), var(--color-200));
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg_box {
    width: var(--px-600);
    border: 8px solid var(--color-300);
    border-radius: var(--px-12);
    overflow: hidden;
}

.box_login {
    width: calc(var(--px-600) - var(--px-16));
    padding: var(--px-12);
    border: 4px solid #ffffff20;
    border-radius: var(--px-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFFFFF;
    gap: var(--px-12);
}

.box_logo {
    flex: 1;
    max-height: var(--px-80);
    gap: var(--px-8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.box_form {
    width: calc(var(--px-600) - var(--px-16) - var(--px-24));
    padding: var(--px-24);
    display: flex;
    flex-direction: column;
    gap: var(--px-8);
}

.box_form h1 {
        text-align: center;
        color: var(--color-title);
        font-size: var(--px-32);
        font-weight: bold;
    }

.box_input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.box_input .input {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.box_input input {
    border: 1px solid var(--border);
    border-radius: var(--px-8);
    font-size: var(--px-20);
}

.icon_hidden {
        position: absolute;
        margin-right: var(--px-12);
    }

.box_form label {
    color: var(--color-title);
    font-size: var(--px-16);
    font-weight: 500;
}

.btn_confirm {
    border: 1px solid var(--border);
    width: 100%;
    height: var(--px-48);
    background-color: var(--color-600);
    border-radius: var(--px-8);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: var(--px-16);
}

.txt_btnConfirm {
    position: relative;
    font-size: var(--px-20);
    letter-spacing: 0.07px;
    font-weight: 600;
    font-family: "h5";
    color: white;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    :root {
        --scale: 80;
    }
}

/* iPad Portrait */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    :root {
        --scale: 80;
    }
}

/* iPad Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    :root {
        --scale: 80;
    }
}