:root {
    --bg-color: #f8f9fa;
    --text-main: #333;
    --text-muted: #777;
    --card-bg: #ffffff;
    --warning-bg: #fff0f5;
    --warning-text: #d32f2f;
    --primary: #d85799;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e9ecef;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
    color: inherit;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-color);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow-x: hidden;
}

.header {
    background: linear-gradient(180deg, #d81b60 0%, #f06292 60%, #f8eaef 100%);
    padding: 70px 20px 90px 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.header > * {
    position: relative;
    z-index: 10;
}

.header svg {
    z-index: 1;
}

.btn-dasbor {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    z-index: 10;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    font-weight: 600;
}

.header h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header p {
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}
    margin-bottom: 8px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header p {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 250px;
    margin: 0 auto;
    font-weight: 500;
}

.content {
    padding: 0 20px;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    background: transparent;
}

.grid-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-main);
}

.icon-box {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.grid-card span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
}

.bg-pink { background: #ff4d85; }
.bg-yellow { background: #ffb703; }
.bg-purple { background: #a259ff; }
.bg-orange { background: #fb8500; }
.bg-light-purple { background: #c175ff; }

.section-title {
    font-size: 14px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.list-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.list-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    color: inherit;
    border: 1px solid #f0f0f0;
}

.list-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin-right: 15px;
    flex-shrink: 0;
    background: #e8dbfa;
    color: #8c52ff;
}

.list-text {
    flex-grow: 1;
}

.list-text h3 {
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 4px;
    font-weight: 700;
}

.list-text p {
    font-size: 11px;
    color: var(--text-muted);
}

.list-arrow {
    color: var(--text-muted);
    font-size: 14px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.social-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.social-card i.fab {
    font-size: 28px;
    margin-bottom: 8px;
}

.social-card .fa-facebook { color: #1877f2; }
.social-card .fa-instagram { color: #e4405f; }
.social-card .fa-tiktok { color: #000000; }
.social-card .fa-youtube { color: #ff0000; }

.social-card h4 {
    font-size: 12px;
    margin-bottom: 2px;
}

.social-card p {
    font-size: 10px;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card-special {
    border: 1.5px solid #ff99bb;
}

.product-img-box {
    background: #fff0f5;
    aspect-ratio: 4 / 5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff6b9d;
    font-size: 24px;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card p {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 500;
}

.product-card .shop-icon {
    font-size: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.green-banner {
    background: #1cb954;
    color: white;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(28, 185, 84, 0.2);
}

.green-banner i {
    font-size: 20px;
}

.green-banner h3 {
    font-size: 13px;
    margin-bottom: 2px;
}

.green-banner p {
    font-size: 10px;
    opacity: 0.9;
}

.video-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.video-thumbnail {
    background: #000;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-thumbnail .play-btn {
    background: #ff0000;
    color: white;
    width: 48px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.video-info {
    padding: 12px;
}

.video-info h4 {
    font-size: 12px;
    margin-bottom: 4px;
}

.video-info p {
    font-size: 11px;
    color: #ff4d85;
}

.kajian-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kajian-card h3 {
    font-size: 13px;
    margin-bottom: 6px;
}

.kajian-card .time {
    font-size: 11px;
    color: #1cb954;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.kajian-card p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.btn-purple {
    background: #a259ff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.warning-box {
    background-color: #fff9fb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px dashed #f6adc6;
    margin: 20px 0;
    display: block;
}

.warning-box h4 {
    color: #d95376;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.warning-box p {
    color: #d95376;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.footer-credit {
    text-align: center;
    color: #7b949c;
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 25px;
}

/* Undang Ustadzah Form */
.undang-container {
    margin-bottom: 25px;
}

.undang-form-container {
    background: #fff;
    border: 1px solid #eaeaea;
    border-top: none;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    padding: 20px;
}

.undang-form-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.u-form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: #fff;
    box-sizing: border-box;
    font-family: inherit;
}

.u-form-input::placeholder {
    color: #b0b0b0;
}

.u-form-input:focus {
    outline: none;
    border-color: #82d8b5;
}

.u-form-select-wrapper {
    position: relative;
    margin-bottom: 12px;
}

.u-form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ff4d8d;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-dark);
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
}

.u-form-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 77, 141, 0.2);
}

.u-form-select-wrapper::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 12px;
    color: #333;
}

.u-form-textarea {
    resize: vertical;
}

.u-btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #82d8b5;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
}

.u-btn-submit:hover {
    background-color: #72cca9;
}

/* Tabel Warning Box */
.tabel-warning-box {
    background-color: #fffdf0;
    border: 1px solid #fde073;
    border-radius: 12px;
    padding: 12px 15px;
    color: #d97706;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.tabel-warning-box i {
    margin-top: 2px;
    font-size: 13px;
}
