/* Variabel Warna & Properti */
:root {
    --blue-primary: #54A7F5;
    --blue-dark: #3d93e2;
    --text-dark: #2d3436;
    --text-gray: #8395a7;
    --bg-light: #F2F8FF;
    --white: #ffffff;
    --red-error: #ff7675;
    --green-success: #55efc4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

body {
    width: 100%;
    min-height: 100vh;
    background: url('bg_new.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Container untuk Auth (Login/Register) */
.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    border-radius: 32px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
}

.main-logo-img {
    width: 60px;
    margin-bottom: 10px;
}

.logo-section p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 35px;
}

h1 {
    color: var(--blue-primary);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.subtitle {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 25px;
    display: block;
}

/* Form Styling */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    font-size: 12px;
    color: var(--text-dark);
    margin-left: 4px;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .icon {
    position: absolute;
    left: 15px;
    font-size: 16px;
}

.input-wrapper input, .input-wrapper select {
    width: 100%;
    height: 50px;
    padding: 0 45px;
    border: 1.5px solid #DFE6E9;
    border-radius: 16px;
    font-size: 14px;
    outline: none;
    background: white;
    transition: 0.3s;
}

.input-wrapper input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 4px rgba(84, 167, 245, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
}

/* Grid Menu 3x3 */
.dashboard-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.dashboard-header {
    margin: 20px 0 30px;
    color: white;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 100px;
}

.grid-item {
    background: white;
    border-radius: 20px;
    padding: 15px 5px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
    cursor: pointer;
}

.grid-item:active { transform: scale(0.92); }

.icon-box {
    width: 52px; height: 52px;
    border-radius: 15px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.grid-item span {
    font-size: 10px;
    font-weight: bold;
    color: var(--text-dark);
    display: block;
}

/* Bottom Nav Capsule */
.bottom-nav-wrapper {
    position: fixed;
    bottom: 25px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
}

.bottom-nav {
    background: white;
    width: 90%;
    max-width: 400px;
    height: 65px;
    border-radius: 35px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nav-item {
    text-align: center;
    color: var(--text-gray);
    cursor: pointer;
}

.nav-item.active { color: var(--blue-primary); }

/* Buttons */
.btn-primary {
    width: 100%;
    height: 54px;
    background: var(--blue-primary);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(84, 167, 245, 0.3);
}

.btn-primary:disabled { background: #ccc; box-shadow: none; }

.footer-link {
    margin-top: 25px;
    font-size: 13px;
    color: var(--text-dark);
}

.footer-link a {
    color: var(--blue-primary);
    font-weight: bold;
    text-decoration: none;
}