
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=TASA+Explorer:wght@400..800&display=swap');

:root {
    --bg-15: rgba(15, 15, 15, 1);
    --bg-18: rgba(18, 18, 18, 1);
    --bg-20: rgba(20, 20, 20, 1);
    --bg-23: rgba(23, 23, 23, 1);
    --bg-27: rgba(27, 27, 27, 1);
    --bg-33: rgba(33, 33, 33, 1);
    --bg-36: rgba(36, 36, 36, 1);
    --bg-38: rgba(38, 38, 38, 1);
    --bg-34: rgba(34, 34, 34, 1);
    --bg-50: rgba(50, 50, 50, 1);
    --bg-55: rgba(55, 55, 55, 1);
    --bg-60: rgba(60, 60, 60, 1);
    --bg-70: rgba(70, 70, 70, 1);
    --bg-100: rgba(100, 100, 100, 1);
    --bg-150: rgba(150, 150, 150, 1);

    --wg-3: 300;
    --wg-4: 400;
    --wg-5: 500;
    --wg-6: 600;
    --wg-7: 700;
    --wg-8: 800;

    --sz-10: 10px;
    --sz-12: 12px;
    --sz-14: 14px;
    --sz-16: 16px;
    --sz-18: 18px;
    --sz-20: 20px;
    --sz-22: 22px;
    --sz-24: 24px;
    --sz-30: 30px;
}

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

body {
    font-family: "Inter", sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Dot pattern background */
.dot-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.dot-pattern canvas {
    width: 100%;
    height: 100%;
}

/* Radial overlay gelap di pinggir */
.radial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(
        ellipse closest-side,
        transparent 50%,
        rgba(15, 15, 15, 0.7) 90%,
        rgba(15, 15, 15, 1) 100%
    );
    z-index: 2;
}

.radial-overlay-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 30%;
    background: radial-gradient(
        ellipse closest-side,
        transparent 0%,
        rgba(244, 255, 250, 0.5) 0%,
        rgba(70, 70, 70, 0.7) 70%,
        rgba(15, 15, 15, 1) 100%
    );
    z-index: 1;
}

/* Container Main */
.container-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex: 1;
    padding: 30px 0;
    z-index: 10;
}

.back-btn {
    position: absolute;
    left: 20px;
    top: 20px;
}

.back-arrow {
    background: #242424;
    padding: 8px;
    border: 1px solid #404040;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-arrow:hover {
    background: #3a3a3a;
    border-color: #555555;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.logo-text {
    font-family: "TASA Explorer", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.login-container {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.login-header {
    width: 48px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin: 0 auto 32px;
}

h1 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
}

.row-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.altert-text {
    font-size: 12px;
    font-weight: 600;
    color: #bb0b0b;
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

label {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
}

.forgot-link {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.1s;
}

.forgot-link:hover {
    color: #fff;
    text-decoration: underline;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    padding-right: 44px;
}

.password-wrapper svg {
    fill: #999;
}

.toggle-repeat-password,
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    padding: 0;
}

.toggle-repeat-password:hover,
.toggle-password:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toggle-repeat-password:focus,
.toggle-password:focus {
    outline: none;
}



input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    caret-color: #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    outline: none;
}

input::placeholder {
    color: #666;
}

input:hover {
    border-color: #0bbb95;
}

input:focus {
    border-color: #0eddb0;
}

input:-webkit-autofill {
    -webkit-text-fill-color: #fff;
    transition: background-color 5000s ease-in-out 0s;
}

.sign-in-btn {
    width: 100%;
    padding: 14px;
    background: #0b9779;
    border: 1px solid #0bbb95;
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.sign-in-btn:hover {
    background: #0a775f;
}

.sign-in-btn:active {
    transform: translateY(1px);
}

.signup-link {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #888;
}

.signup-link a {
    color: #888;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.1s;
}

.signup-link a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 6px;
}

.footer-icon {
    width: 16px;
    height: 16px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    width: 0%;
    background: #0bbb95;
    z-index: 200;
    transition: width 0.4s ease;
}

/* ===== IN ===== */
.fade-up {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

#deviceBlocker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #111;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    z-index: 999999;
    padding: 20px;
}
