/* ==========================================================================
   RESET & UTALITAS MOBILE
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #FFF5F5; /* Putih kemerahan lembut */
    color: #4A4A4A;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

/* Container utama agar konten di HP tidak melebar ke pinggir layar */
.app-container {
    width: 100%;
    max-width: 412px; /* Standar lebar layar HP modern */
    min-height: 100vh;
    background-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.2);
    padding: 20px;
    position: relative;
}

/* ==========================================================================
   HALAMAN LOGIN
   ========================================================================== */
.login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #FFE4E1; /* Misty Rose */
    width: 100%;
}

.login-box {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
    width: 85%;
    max-width: 340px;
    text-align: center;
}

/* ==========================================================================
   KOMPONEN INPUT & TOMBOL
   ========================================================================== */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #FF69B4;
    margin-bottom: 5px;
    display: block;
}

input, select {
    width: 100%;
    padding: 14px;
    margin: 8px 0;
    border: 2px solid #FFE4E1;
    border-radius: 12px;
    outline: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #FF69B4;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: #FF69B4; /* Hot Pink */
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
}

.btn-primary:active {
    background-color: #FF1493;
}

/* ==========================================================================
   DASHBOARD UTAMA (index.php)
   ========================================================================== */
.header-app {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #FFE4E1;
}

.header-app h2 {
    color: #FF69B4;
    font-size: 22px;
}

.header-app p {
    color: #888;
    font-size: 13px;
}

/* Kartu Ringkasan (Summary Cards) */
.summary-container {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.card {
    flex: 1;
    padding: 15px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.card-sellin {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
}

.card-sellout {
    background: linear-gradient(135deg, #87CEFA, #4169E1);
}

.card h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.card .value {
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}

/* Placeholder Grafik */
.chart-box {
    background: #FFF0F5;
    border: 2px solid #FFE4E1;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
    color: #FF69B4;
    font-weight: 500;
}

/* Menu Navigasi Bawah / Action */
.action-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Pesan Error / Sukses */
.error-text { color: #D8000C; font-size: 13px; margin-top: 5px; }
.success-text { color: #4F8A10; font-size: 13px; margin-top: 5px; }