:root {
    --app-bg: #ffffff;
    --app-bg-alt: #f4f7fa;
    --app-bg-desktop: #e2e8f0;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --accent-blue: #10428e;
    --accent-sky: #38bdf8;
    --accent-sky-alt: #0ea5e9;
    --accent-sky-light: #38bdf8;
    --accent-sky-light-alt: #e0f2fe;
    --accent-sky-dark: #0284c7;
    --input-bg: #f2f5f8;
    --input-border: #e2e8f0;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
    --purple-color: #8b5cf6;
}
body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background-color: var(--app-bg-desktop);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.app-container {
    width: 100%;
    max-width: 414px;
    height: 100vh;
    max-height: 896px;
    background: var(--app-bg-alt);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border-radius: 40px;
    border: 8px solid #0f172a;
    border-color: #fefefe #fefefe #f9f9f9 #f9f9f9;
}
.splash-screen {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
        0deg,
        var(--accent-sky-light) 0%,
        var(--accent-sky-dark) 150%
    ) !important;
}
.login-screen {
    background: var(--app-bg);
}
@media (max-width: 480px) {
    body {
        background-color: var(--accent-sky-dark);
    }
    .app-container {
        max-width: 100%;
        border-radius: 0;
        border: none;
        height: 100vh;
        max-height: none;
        margin: 0;
    }
}
.app-header {
    padding: 30px 24px 10px;
    position: relative;
}
.app-header::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    border-radius: 50%;
    z-index: 0;
}
.app-header.text-center::before {
    content: "";
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.12) 0%,
        rgba(255, 255, 255, 0) 50%
    );
    border-radius: 50%;
    z-index: 0;
}
/*
.app-header {
    padding: 40px 24px 20px;
    position: relative;
}
.app-header::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.15) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    border-radius: 50%;
    z-index: 0;
}
*/
.login-screen .app-header::after {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100px;
    height: 100px;
    background-image: url("../../imgs/aceh2.png");
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}
.brand-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.brand-logo span {
    color: var(--accent-sky);
}
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--input-bg);
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
}
.back-btn:active {
    background-color: #e2e8f0;
}
.back-btn-wrapper {
    text-align: left;
    position: relative;
    z-index: 1;
}
.welcome-text h1 {
    font-size: 1.65rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    color: var(--accent-blue);
    position: relative;
    z-index: 1;
}
.welcome-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.icon-illustration {
    width: 90px;
    height: 90px;
    background: var(--input-bg);
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-sky);
    margin: 1rem auto 1.5rem;
    position: relative;
    z-index: 1;
}
.app-body {
    padding: 0 24px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.input-group-custom {
    position: relative;
    margin-bottom: 1.25rem;
}
.input-group-custom i.icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    z-index: 2;
}
.input-text-hint {
    margin-bottom: 1rem;
    padding-left: 5px;
}
.input-text-hint p {
    margin: 0;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.input-password-hint {
    margin-bottom: 1rem;
    padding-left: 5px;
}
.input-password-hint ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.input-password-hint ul li.text-success {
    color: #22c55e !important;
}
.input-password-hint ul li.text-muted {
    color: #bbc0c8 !important;
}
.input-password-hint ul li .fa-solid.fa-circle {
    font-size: 0.6rem;
}
.form-control-custom {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 16px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s;
}
.form-control-custom::placeholder {
    color: #94a3b8;
}
.form-control-custom:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1);
}
.form-control-custom:focus + i.icon-left {
    color: var(--accent-sky);
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    border-color: #cbd5e1;
    cursor: pointer;
    flex-shrink: 0;
}
.form-check-input:checked {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
}
.form-check-label {
    color: var(--text-muted);
    padding-left: 0.2rem;
}
.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    z-index: 2;
    padding: 5px;
}
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.tnc-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.tnc-check a {
    color: var(--accent-sky-dark);
    font-weight: 600;
    text-decoration: none;
}
.forgot-link {
    color: var(--accent-sky);
    font-weight: 600;
    text-decoration: none;
}
.resend-otp {
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.btn-primary-app {
    width: 100%;
    padding: 16px;
    background-color: var(--accent-sky);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.2);
    transition: all 0.2s;
    margin-bottom: 2rem;
}
.btn-primary-app:active {
    transform: scale(0.98);
    background-color: var(--accent-sky-dark);
}
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #f1f5f9;
}
.divider span {
    padding: 0 10px;
}
.social-login {
    display: flex;
    gap: 1rem;
    margin-bottom: auto;
}
.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px;
    background-color: white;
    border: 1px solid var(--input-border);
    border-radius: 16px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}
.btn-social:active {
    background-color: #f8fafc;
}
.btn-social img {
    width: 20px;
    height: 20px;
}
.register-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 2rem;
    padding-bottom: 10px;
}
.register-link a {
    color: var(--accent-sky-dark);
    font-weight: 700;
    text-decoration: none;
}
.login-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    padding-bottom: 20px;
}
.login-link a {
    color: var(--accent-sky-dark);
    font-weight: 700;
    text-decoration: none;
}
