:root {
    --bg-1: #fdf6ec;
    --bg-2: #ffe1bf;
    --bg-3: #ffd09a;
    --surface: rgba(255, 255, 255, 0.76);
    --text: #22201d;
    --accent: #c7461f;
    --accent-dark: #9e3517;
    --ring: rgba(199, 70, 31, 0.24);
    --ok-bg: #e8f9ec;
    --ok-text: #1a6f2b;
    --error-bg: #ffe9e9;
    --error-text: #8d2222;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--text);
    min-height: 100vh;
}

.landing-body,
.form-body {
    background:
        radial-gradient(circle at 10% 15%, var(--bg-2), transparent 38%),
        radial-gradient(circle at 85% 70%, var(--bg-3), transparent 35%),
        linear-gradient(130deg, var(--bg-1), #fff8ef);
    display: grid;
    place-items: center;
    padding: 24px;
}

.hero-wrapper {
    width: 100%;
    max-width: 1100px;
}

.hero-card,
.form-shell {
    backdrop-filter: blur(8px);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(59, 26, 0, 0.15);
}

.hero-card {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 32px 20px;
}

.logo-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.logo-circle {
    width: clamp(140px, 22vw, 230px);
    aspect-ratio: 1;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 8vw, 88px);
    letter-spacing: 3px;
    color: #fff;
    background: linear-gradient(145deg, #e15d28, #ad3915);
    box-shadow: 0 16px 36px rgba(173, 57, 21, 0.35);
}

.site-logo {
    width: min(92vw, 620px);
    max-width: 620px;
    max-height: 50vh;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 14px 28px rgba(173, 57, 21, 0.25));
}

.brand-title {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 7vw, 92px);
    letter-spacing: 2px;
    line-height: 0.95;
}

.info-mail {
    margin: 0;
    font-weight: 800;
    font-size: clamp(16px, 2.6vw, 28px);
    letter-spacing: 0.8px;
}

.cta-button {
    border: none;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 56px;
    min-width: 220px;
    padding: 0 28px;
    border-radius: 16px;
    background: linear-gradient(130deg, var(--accent), #df6f36);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 10px 24px rgba(199, 70, 31, 0.33);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(199, 70, 31, 0.33);
}

.cta-button:active {
    transform: translateY(1px);
}

.form-shell {
    width: min(920px, 100%);
    padding: 36px;
}

.form-header h1 {
    margin: 0;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: clamp(36px, 5vw, 64px);
}

.form-header p {
    margin: 0 0 18px;
    font-weight: 600;
}

form {
    display: grid;
    gap: 16px;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

label {
    display: grid;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    border: 1px solid #dcc7b8;
    border-radius: 12px;
    min-height: 46px;
    padding: 11px 13px;
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--ring);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.full-width {
    width: 100%;
}

.back-link {
    text-align: center;
    color: #6f3b2a;
    font-weight: 700;
}

.category-box {
    border: 1px solid #dcc7b8;
    border-radius: 12px;
    padding: 12px;
    margin: 0;
}

.category-box legend {
    font-weight: 800;
    padding: 0 6px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}

.check-item input {
    min-height: 16px;
    width: 16px;
}

.is-hidden {
    display: none;
}

.topbar {
    width: min(1100px, 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
}

.admin-shell {
    width: min(1100px, 100%);
    backdrop-filter: blur(8px);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(59, 26, 0, 0.15);
    padding: 24px;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    border-bottom: 1px solid #ead8cb;
    padding: 11px 8px;
    font-size: 14px;
}

.status-badge {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
    display: inline-block;
}

.status-pending_admin_approval {
    background: #dff1ff;
    color: #0f4f7a;
}

.status-approved {
    background: #dff8e4;
    color: #196c2d;
}

.status-rejected {
    background: #ffe2e2;
    color: #7a1f1f;
}

.inline-actions {
    display: flex;
    gap: 8px;
}

.btn-small {
    border: none;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 700;
}

.btn-approve {
    background: #1f9f4c;
    color: #fff;
}

.btn-reject {
    background: #cb3f3f;
    color: #fff;
}

.success-box,
.error-box {
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.success-box {
    background: var(--ok-bg);
    color: var(--ok-text);
}

.error-box {
    background: var(--error-bg);
    color: var(--error-text);
}

.reveal-up {
    animation: reveal-up 640ms ease both;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 760px) {
    .form-shell {
        padding: 20px;
    }

    .grid-two {
        grid-template-columns: 1fr;
    }

    .hero-card {
        min-height: calc(100vh - 48px);
        border-radius: 20px;
        gap: 12px;
        padding: 24px 14px;
    }

    .site-logo {
        width: min(88vw, 300px);
        max-width: 300px;
        max-height: 34vh;
    }

    .brand-title {
        font-size: clamp(24px, 9vw, 42px);
        line-height: 1;
    }

    .info-mail {
        line-height: 1.35;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}
