@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@100;200;300;400;500;600;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --auth-color-primary: #00faff;
    --auth-color-secound: #00bfff;
    --auth-color-shadow: #00aaff66;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Kanit", sans-serif;
}

body {
    font-family: "IBM Plex Sans Thai", sans-serif;
    padding-top: min(10%, 10vh);
    height: 100vh;
    display: flex;
    justify-content: center;
}

.bg-register,
.bg-login {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.form-container {
    background-color: #0d1117;
    border-radius: 16px;
    padding: 20px;
    color: white;
    width: 100%;
    margin: 5px;
    border: 1px solid #ced4da;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.form-text {
    color: var(--auth-color-primary);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 20px;
}

.form-label {
    color: #ced4da;
    font-family: "Kanit";
}

.error-text {
    color: red;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 10px;
}

#content {
    position: relative;
    z-index: 10;
    width: 100%;
    margin: 0 auto;
    max-width: 400px;
}

.btn-next {
    background: linear-gradient(
        to right,
        var(--auth-color-primary),
        var(--auth-color-secound)
    );
    border: 1px solid var(--auth-color-secound);
    color: #fff;
    font-weight: bold;
}

.btn-next:hover {
    color: #fff;
    filter: brightness(1.1);
}

.btn-confirm-register {
    background: linear-gradient(to right, #32cd32, #228b22);
    border: none;
    color: #000;
    font-weight: bold;
}

.text-site-name {
    color: rgb(255, 255, 255);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-fade-in {
    animation: fadeIn 2s ease-in-out;
}

.step-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 20px;
    position: relative;
    width: 60%; /* adjust as needed */
    height: 60px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: white;
    font-family: sans-serif;
    position: absolute;
    top: 10px;
    z-index: 2;
}

.step-1 {
    left: 0;
    background-color: #111;
    box-shadow: 0 0 5px #e9e9e966;
}

.step-2 {
    right: 0;
    background-color: #111;
    box-shadow: 0 0 5px #e9e9e966;
}

.step-1.active,
.step-2.active {
    background-color: var(--auth-color-primary);
    box-shadow: 0 0 10px var(--auth-color-shadow);
}

.line {
    position: absolute;
    height: 2px;
    background: var(--auth-color-primary);
    width: calc(100% - 60px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 0 6px var(--auth-color-shadow);
}

.text-login {
    color: #32cd32;
}

.btn-login {
    background-color: var(--auth-color-primary);
    border: 1px solid var(--auth-color-secound);
}

.btn-login:hover {
    box-shadow: 0 0 10px var(--auth-color-shadow);
}
