:root {
    --base-bg: #f6f3ee;
    --base-surface: #ffffff;
    --base-border: #e6dfd3;
    --base-text: #201c17;
    --base-muted: #6d665d;
    --base-gold: #b8963e;
    --base-gold-dark: #8c6e22;
    --base-danger: #b23838;
    --base-secondary: #545c66;
    --base-shadow: 0 18px 48px rgba(22, 18, 12, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    color: var(--base-text);
    background: linear-gradient(180deg, #fbf9f5 0%, var(--base-bg) 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

a {
    color: var(--base-gold-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 2rem, 1100px);
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-danger {
    color: var(--base-danger);
}

.d-block {
    display: block;
}

.w-100 {
    width: 100%;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.ms-3 {
    margin-left: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    font: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--base-gold);
    color: #fff;
    box-shadow: 0 10px 24px rgba(184, 150, 62, 0.22);
}

.btn-primary:hover {
    background: var(--base-gold-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--base-secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: #434b54;
    color: #fff;
}

.btn-danger {
    background: var(--base-danger);
    color: #fff;
}

.btn-danger:hover {
    background: #932f2f;
    color: #fff;
}

.btn-lg {
    min-height: 3.25rem;
    padding: 0.9rem 1.4rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--base-border);
    border-radius: 14px;
    background: #fff;
    color: var(--base-text);
    font: inherit;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(184, 150, 62, 0.8);
    box-shadow: 0 0 0 3px rgba(184, 150, 62, 0.14);
}

.form-label {
    display: block;
    margin-bottom: 0.45rem;
    font-weight: 600;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.form-check input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--base-gold);
}

.form-check-label {
    font-weight: 500;
}

.form-text {
    color: var(--base-muted);
    font-size: 0.92rem;
}

.content-card {
    background: var(--base-surface);
    border: 1px solid rgba(184, 150, 62, 0.14);
    border-radius: 28px;
    box-shadow: var(--base-shadow);
    padding: 2rem;
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.25rem, 1100px);
    }

    .py-5 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .ms-3 {
        margin-left: 0;
    }

    .btn,
    .btn-lg {
        width: 100%;
    }
}
