:root {
    /* Yinga style guide tokens */
    --yinga-pink: #E50074;
    --yinga-blue: #007BC4;
    --yinga-green: #009F3C;
    --yinga-orange: #F39200;

    --card-bg-pink: #fdf8f0;
    --card-bg-blue: #e8f2f9;
    --card-bg-green: #edf7f1;
    --card-bg-orange: #fef6eb;

    --page-bg: #f5f8fb;
    --content-bg: #ffffff;
    --header-footer-bg: #eaf3fa;

    --text: #444444;
    --text-strong: #333333;
    --muted: #777777;
    --muted-2: #aaaaaa;
    --border: rgba(0, 0, 0, 0.08);
    --shadow: 0 10px 24px rgba(17, 24, 39, 0.06);

    --radius-card: 16px;
    --radius-inner: 12px;
    --radius-pill: 25px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--text);
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.8;
    background: var(--page-bg);
}

a {
    color: var(--yinga-blue);
    text-decoration: none;
}

a:hover {
    opacity: 0.9;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-footer-bg);
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 14px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-strong);
    font-size: 12px;
    text-transform: uppercase;
}

.logos {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.9;
}

img.logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

img.logo.logo-header {
    max-width: 140px;
    max-height: 38px;
    height: 28px;
}

.content {
    max-width: 980px;
    margin: 28px auto 64px;
    padding: 0 40px;
    padding-bottom: 84px; /* space for fixed footer */
}

.content-container {
    background: var(--content-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow);
    padding: 26px 28px;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    border-top: 1px solid var(--border);
    background: var(--header-footer-bg);
    color: var(--muted);
    font-size: 13px;
}

.site-footer a {
    color: var(--yinga-blue);
    font-weight: 600;
}

.site-footer {
    padding: 12px 16px;
}

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

.content-container h1 {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--yinga-pink);
}

.content-container h2 {
    margin: 16px 0 10px;
    font-size: 19px;
    line-height: 1.3;
    color: var(--yinga-pink);
    font-weight: 700;
}

.content-container p {
    margin: 0 0 10px;
    color: var(--text);
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

form {
    margin: 0 0 16px;
    /* Let the form content align with the surrounding container. */
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

form h3 {
    margin: 10px 0 8px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--yinga-pink);
    font-weight: 700;
}

/* Used for non-h3 section labels that should match the h3 styling */
label.field-title {
    display: block;
    margin: 10px 0 8px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--yinga-pink);
    font-weight: 700;
}

/* Labels/uppercase (10px, 600, letter spacing) */
.label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--yinga-blue);
}

input[type="text"],
input[type="file"],
textarea {
    width: 100%;
    margin: 6px 0 10px;
    padding: 10px 12px;
    border-radius: var(--radius-inner);
    border: 1px solid var(--border);
    background: #fff;
    font: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input[type="submit"],
button,
input[type="button"] {
    appearance: none;
    border: 0;
    border-radius: var(--radius-pill);
    padding: 10px 28px;
    background: var(--yinga-pink);
    color: #fff;
    font: inherit;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.2px;
    cursor: pointer;
}

/* Secondary/outline button (Contact-style) */
.btn-outline {
    border: 2px solid var(--yinga-pink);
    background: transparent;
    color: var(--yinga-pink);
    padding: 6px 20px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(229, 0, 116, 0.06);
}

.copy-box {
    margin: 0 0 14px;
}

.copy-status {
    display: none;
    margin: 0 0 10px;
    color: var(--yinga-blue);
    font-weight: 600;
}

.copy-status.is-visible {
    display: block;
}

.copy-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-row input[type="text"] {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.copy-btn {
    background: var(--yinga-blue);
    white-space: nowrap;
}

input[type="submit"]:hover,
button:hover,
input[type="button"]:hover {
    filter: brightness(1.02);
}

input[type="submit"]:active,
button:active,
input[type="button"]:active {
    transform: translateY(1px);
}

.upload {
    float: none;
    width: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    margin: 0 0 16px;
}

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

th {
    color: var(--muted);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: var(--page-bg);
}

/* Section cards inside the white content container */
.section-card,
table,
textarea,
.copy-box {
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: none;
}

.section-card {
    padding: 26px 28px;
    margin: 0 0 16px;
}

.copy-box {
    padding: 18px 18px;
}

.copy-row {
    flex-wrap: wrap;
}

.copy-btn {
    padding-left: 20px;
    padding-right: 20px;
}

/* 4-color brand bar (pink -> blue -> green -> orange) */
.colorbar {
    height: 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.colorbar .cb {
    display: block;
}

.colorbar .cb-pink { background: var(--yinga-pink); }
.colorbar .cb-blue { background: var(--yinga-blue); }
.colorbar .cb-green { background: var(--yinga-green); }
.colorbar .cb-orange { background: var(--yinga-orange); }

tr:last-child td {
    border-bottom: none;
}

@media (max-width: 640px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
        padding-right: 20px;
    }
    .logos {
        flex-wrap: wrap;
    }
    .content {
        margin-top: 18px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .content-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .copy-row {
        flex-direction: column;
        align-items: stretch;
    }
}
