@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --green: #0b4d3b;
    --deep: #063528;
    --cream: #fbf8ef;
    --gold: #eabf65;
    --ink: #17312b;
    --muted: #6b7b75;
    --line: #dfe7df;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 16px 'DM Sans', sans-serif;
}

header {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    padding: 0 28px;
    margin: auto;
}

.brand {
    font-weight: 700;
    color: var(--deep);
    text-decoration: none;
    font-size: 20px;
}

.brand span {
    display: inline-grid;
    place-items: center;
    background: var(--gold);
    width: 29px;
    height: 29px;
    border-radius: 50%;
    color: white;
    margin-right: 7px;
}

.nav-cta,
.button {
    background: var(--green);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 12px 19px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    font: inherit;
}

.hero {
    max-width: 1180px;
    padding: 76px 28px 82px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    letter-spacing: 1.5px;
    font-size: 11px;
    font-weight: 700;
    color: #9a721f;
    margin: 0 0 15px;
}

.hero h1,
h1,
h2 {
    font-family: 'Playfair Display', serif;
    line-height: 1.13;
}

.hero h1 {
    font-size: 56px;
    margin: 0 0 20px;
    max-width: 650px;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 570px;
    margin-bottom: 29px;
}

.button b {
    font-size: 20px;
    margin-left: 9px;
}

.stats {
    display: flex;
    gap: 45px;
    margin-top: 40px;
}

.stats strong {
    display: block;
    font-size: 23px;
}

.stats span {
    font-size: 13px;
    color: var(--muted);
}

.hero-card {
    height: 400px;
    background: linear-gradient(145deg, #b6d8ba, #e5dba2);
    border-radius: 160px 160px 20px 20px;
    position: relative;
    overflow: hidden;
    padding: 30px;
    text-align: center;
    box-shadow: 18px 20px 0 #e5e0cb;
}

.sun {
    font-size: 100px;
    color: #f7df83;
    position: absolute;
    right: 25px;
    top: 0;
}

.mosque {
    position: absolute;
    bottom: 125px;
    left: 0;
    right: 0;
    color: #0b4d3b;
    font-size: 170px;
    line-height: .5;
}

.mosque small {
    color: transparent;
}

.hero-card p {
    position: absolute;
    bottom: 3px;
    left: 30px;
    right: 30px;
    font: 600 14px Georgia;
    color: #23453a;
    z-index: 1;
}

.values {
    background: #fff;
    padding: 60px max(28px, calc((100% - 1120px) / 2));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: center;
}

.values i {
    font-style: normal;
    color: #bb8124;
    font-size: 31px;
}

.values h3 {
    margin: 12px 0 8px;
}

.values p,
.about p,
.donate-copy p {
    color: var(--muted);
    line-height: 1.7;
}

.about {
    text-align: center;
    padding: 88px 28px;
    max-width: 710px;
    margin: auto;
}

.about h2,
.donate h2 {
    font-size: 38px;
    margin: 0;
}

.donate {
    background: var(--deep);
    color: white;
    padding: 76px max(28px, calc((100% - 1050px) / 2));
    display: grid;
    grid-template-columns: 1fr 470px;
    gap: 90px;
}

.donate-copy {
    padding-top: 25px;
}

.donate-copy p {
    color: #c3d2ca;
}

.secure {
    color: #f5d688 !important;
    font-size: 14px;
    margin-top: 25px;
}

form {
    display: grid;
    gap: 9px;
}

label {
    font-size: 14px;
    font-weight: 600;
    margin-top: 7px;
}

label small {
    font-weight: 400;
    color: var(--muted);
}

input,
textarea {
    font: inherit;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
    color: var(--ink);
    width: 100%;
}

textarea {
    resize: vertical;
}

.amounts {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.amounts button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 600px;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    margin: 0;
}

.selection-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #aaa;
    border-radius: 50%;
    position: relative;
}

.amounts button.selected {
    border-color: #0b4d3b;
    background: #f4faf7;
}

.amounts button.selected .selection-circle {
    border-color: #0b4d3b;
}

.amounts button.selected .selection-circle::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background: #0b4d3b;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.full {
    width: 100%;
    margin-top: 12px;
}

footer {
    padding: 30px max(28px, calc((100% - 1120px) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
    background: white;
}

footer a {
    color: var(--green);
}

.payment {
    background: #edf4ed;
    min-height: 100vh;
    padding: 45px 18px;
}

.payment-card,
.login-card {
    max-width: 580px;
    background: white;
    margin: auto;
    border-radius: 14px;
    padding: 38px;
    box-shadow: 0 10px 40px #1b38241a;
}

.payment-card h1,
.login-card h1 {
    margin-top: 0;
}

.back {
    color: var(--green);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 35px;
}

.qris {
    width: 240px;
    height: 240px;
    margin: 26px auto 12px;
    border: 8px solid var(--green);
    display: grid;
    place-items: center;
}

.qris img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qris-placeholder {
    font-size: 55px;
    font-weight: bold;
    line-height: .7;
    text-align: center;
}

.qris-placeholder small {
    font-size: 10px;
    font-weight: normal;
}

.payment-card h3 {
    text-align: center;
}

.payment-card ol {
    color: var(--muted);
    line-height: 1.9;
    padding-left: 19px;
}

.notice {
    padding: 12px 14px;
    border-radius: 7px;
    margin: 13px 0;
}

.good {
    background: #e1f4e5;
    color: #175b29;
}

.error {
    background: #fde8e6;
    color: #a02b20;
}

.hint {
    color: var(--muted);
    font-size: 13px;
}

.admin {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
    background: #f5f7f5;
}

.admin aside {
    background: var(--deep);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
}

.admin aside .brand {
    color: white;
}

.admin nav {
    margin-top: 45px;
    display: grid;
    gap: 7px;
}

.admin nav a,
.logout {
    color: #c7d5cd;
    text-decoration: none;
    padding: 11px;
    border-radius: 6px;
}

.admin nav a.active,
.admin nav a:hover {
    background: #1a604d;
    color: white;
}

.logout {
    margin-top: auto;
}

.admin main {
    padding: 44px;
    max-width: 1300px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.admin-top h1 {
    margin: 0;
}

.outline {
    border: 1px solid var(--green);
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--green);
    text-decoration: none;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.dashboard-stats div {
    background: white;
    border-radius: 10px;
    padding: 21px;
}

.dashboard-stats span {
    color: var(--muted);
    font-size: 13px;
    display: block;
}

.dashboard-stats strong {
    font-size: 27px;
    margin-top: 8px;
    display: block;
}

.table-wrap {
    background: white;
    border-radius: 10px;
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 700px;
}

th,
td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    font-size: 12px;
    color: var(--muted);
}

td small {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
    margin-top: 4px;
}

.proof {
    color: var(--green);
    font-weight: 600;
}

.status {
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 20px;
    background: #eee;
}

.status.waiting,
.status.pending {
    background: #fff0cf;
    color: #875c00;
}

.status.approved {
    background: #dcf3e2;
    color: #176a31;
}

.status.rejected {
    background: #f9dddd;
    color: #a32c2c;
}

.actions {
    display: flex;
    gap: 6px;
}

.actions button {
    border: 0;
    border-radius: 5px;
    padding: 7px 8px;
    cursor: pointer;
    font-weight: 600;
}

.approve {
    background: #daf1df;
    color: #176a31;
}

.reject {
    background: #fbe1df;
    color: #a32c2c;
}

.admin-form {
    max-width: 660px;
    background: white;
    padding: 28px;
    border-radius: 10px;
}

.admin-form h2 {
    font-size: 24px;
    margin: 0 0 8px;
}

.qris-thumb {
    width: 170px;
    border: 1px solid var(--line);
    padding: 5px;
}

.admin-form .button {
    justify-self: start;
    margin-top: 12px;
}

@media (max-width: 760px) {

    header {
        padding: 0 18px;
    }

    .hero,
    .donate {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 50px 22px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-card {
        height: 300px;
        order: -1;
    }

    .values {
        grid-template-columns: 1fr;
        padding: 45px 25px;
        gap: 28px;
    }

    .about {
        padding: 65px 22px;
    }

    .donate h2,
    .about h2 {
        font-size: 31px;
    }

    .amounts {
        grid-template-columns: repeat(2, 1fr);
    }

    footer {
        display: grid;
        gap: 9px;
    }

    .admin {
        grid-template-columns: 1fr;
    }

    .admin aside {
        padding: 18px;
        display: block;
    }

    .admin nav {
        margin: 20px 0;
        display: flex;
    }

    .admin .logout {
        display: inline-block;
    }

    .admin main {
        padding: 27px 16px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .admin-top {
        align-items: flex-start;
        gap: 12px;
    }

    .payment-card,
    .login-card {
        padding: 26px 20px;
    }
}