@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #e6f7f2; /* Light tone */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Supaya ngam di laptop */
    min-height: 100vh;
    margin: 0;
    padding: 20px; /* Jarak dari tepi skrin */
}

.mobile-container {
    width: 100%;
    max-width: 450px; /* Saiz ideal untuk paparan mobile/aplikasi */
    background: #ffffff;
    border-radius: 20px; /* Bucu membulat, nampak seperti app sebenar */
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    padding: 30px 25px;
    margin-top: 20px;
}

h1, h2, h3 { color: #10b981; text-align: center; } 

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 14px; color: #374151; margin-bottom: 5px;}
.form-group input, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #d1d5db; border-radius: 8px; outline: none;
    font-size: 15px;
}
.form-group input:focus { border-color: #14b8a6; } 

/* Kemaskini Butang Utama */
.btn {
    display: block; /* Memaksa butang susun menegak */
    text-align: center;
    text-decoration: none; /* Buang garisan bawah pada link */
    background: #10b981; 
    color: white; 
    padding: 14px; 
    border: none; 
    border-radius: 10px;
    width: 100%; 
    font-size: 16px; 
    font-weight: 600; 
    cursor: pointer; 
    margin-bottom: 15px; 
    transition: all 0.3s ease;
}
.btn:hover { background: #059669; transform: translateY(-2px); }
.btn-outline { background: #f0fdfa; color: #14b8a6; border: 2px solid #14b8a6; }
.btn-outline:hover { background: #14b8a6; color: white; }
.btn-google { background: white; color: #374151; border: 1px solid #d1d5db; display: flex; align-items: center; justify-content: center; gap: 10px;}

/* Header / Navigasi (Dikemaskini untuk nama panjang) */
.header-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 30px; 
    flex-wrap: wrap; /* Membenarkan nama yg panjang turun ke bawah */
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}
.header-nav span { font-size: 14px; color: #4b5563; line-height: 1.4; }
.header-nav a { 
    text-decoration: none; 
    color: #ef4444; /* Warna merah untuk Sign Out */
    font-weight: 600; 
    font-size: 14px;
    background: #fef2f2;
    padding: 5px 12px;
    border-radius: 6px;
}

/* Coupon Styles */
.coupon-card {
    border: 2px dashed #10b981; background: #ecfdf5; border-radius: 12px; padding: 20px;
    text-align: center; margin-bottom: 15px; position: relative;
}
.coupon-val { font-size: 28px; font-weight: bold; color: #047857; margin: 10px 0; }
.coupon-card.redeemed {
    border-color: #9ca3af; background: #f3f4f6; color: #6b7280;
}
.coupon-card.redeemed .coupon-val { color: #6b7280; text-decoration: line-through; }
.btn-redeem { background: #f59e0b; color: white;}
.btn-redeemed { background: #9ca3af; color: white; cursor: not-allowed; }

/* Tables for Admin/Summary */
table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 15px; }
th, td { padding: 12px 10px; border-bottom: 1px solid #eee; text-align: left; }
th { color: #10b981; background: #f9fafb; }