/* =========================================
   RESET DASAR & GLOBAL STYLE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

body {
    background: #e9efea;
    display: flex;
    justify-content: center;
    padding: 25px 0;
    color: #333;
}

/* Wrapper aplikasi */
.app {
    width: 100%;
    max-width: 950px;
    background: #ffffff;
    min-height: 100vh;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

/* =========================================
   HEADER
   ========================================= */
.app-header {
    background: linear-gradient(135deg, #046c43, #05a15f);
    padding: 24px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.brand .logo {
    font-size: 24px;
    font-weight: 800;
}

.subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.profile-btn {
    padding: 10px 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: 0.25s;
}
.profile-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    text-align: center;
    padding: 40px 30px;
    background: #ffffff;
}

.hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: #046c43;
}

.hero p {
    font-size: 15px;
    color: #555;
    margin-top: 12px;
    line-height: 1.6;
}

/* =========================================
   MENU CARD LIST
   ========================================= */
.menu {
    padding: 10px 18px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 18px;
    background: #f9fcfa;
    border-radius: 12px;
    border: 1px solid #e0e7e4;
    margin-bottom: 14px;
    cursor: pointer;
    transition: 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.menu-item:hover {
    transform: translateY(-4px);
    background: #f2faf5;
    border-color: #05a15f55;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.mi-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e1f4eb, #f1fbf6);
    display: flex;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    color: #05a15f;
    margin-right: 16px;
}

.mi-title {
    font-size: 17px;
    font-weight: 700;
    color: #333;
}

.mi-arrow {
    margin-left: auto;
    font-size: 22px;
    font-weight: bold;
    color: #05a15f;
}

/* =========================================
   BUTTONS
   ========================================= */
button {
    border: none;
    cursor: pointer;
    font-weight: 600;
}

#berandaBtn, #kembaliBtn {
    padding: 12px 20px;
    border-radius: 10px;
    margin-right: 8px;
}

#berandaBtn {
    background: #28a745;
    color: white;
    transition: 0.25s;
}
#berandaBtn:hover {
    background: #1f7e37;
}

#kembaliBtn {
    background: #6c757d;
    color: white;
    transition: 0.25s;
}
#kembaliBtn:hover {
    background: #565e64;
}

/* =========================================
   FOOTER
   ========================================= */
.app-footer {
    padding: 20px;
    text-align: center;
    background: #f1f5f2;
    color: #656565;
    font-size: 14px;
    margin-top: 40px;
}

/* =========================================
   FORM / LOGIN CARD
   ========================================= */
.card {
    background: white;
    padding: 28px 30px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 420px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    text-align: center;
}

.input-group {
    display: flex;
    align-items: center;
    background: #f2f4f3;
    padding: 12px;
    border-radius: 8px;
    margin: 14px 0;
}

.input-group input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 15px;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #05a15f;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s;
}
.btn:hover {
    background: #047341;
}

/* =========================================
   ALERT COMPONENTS
   ========================================= */
.alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    margin: 12px 0;
}

.alert-error {
    background: #fde2e4;
    color: #9d1c24;
    border: 1px solid #f5b5ba;
}

.alert-success {
    background: #d7f5e6;
    color: #146b3a;
    border: 1px solid #bfe8d3;
}

/* =========================================
   OTP PAGE STYLE
   ========================================= */
input[name="otp"] {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin: 14px 0;
    font-size: 18px;
    text-align: center;
}

p a {
    color: #0d6efd;
}
p a:hover {
    text-decoration: underline;
}
