:root {
    --wseas-navy: #071d3b;
    --wseas-blue: #0b3f78;
    --wseas-blue-light: #1764a7;
    --wseas-gold: #caa45d;
    --wseas-gold-soft: #efe2c7;
    --wseas-ink: #172235;
    --wseas-muted: #667287;
    --wseas-border: #dfe5ed;
    --wseas-surface: #ffffff;
    --wseas-background: #eef3f8;
    --wseas-success: #16815f;
    --wseas-danger: #b4233c;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--wseas-background);
}

body {
    min-height: 100vh;
    margin: 0 !important;
    padding: 38px 18px 56px;
    color: var(--wseas-ink) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6;
    background:
        radial-gradient(circle at 12% 8%, rgba(23, 100, 167, .17), transparent 28%),
        radial-gradient(circle at 88% 92%, rgba(202, 164, 93, .14), transparent 27%),
        linear-gradient(145deg, #071d3b 0, #0b3f78 315px, #edf3f8 315px, #f7f9fc 100%) !important;
    background-attachment: fixed !important;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: .24;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
}

#content {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    max-width: 920px;
    min-height: 0;
    margin: 0 auto;
    padding: 0 58px 28px;
    overflow: hidden;
    border: 1px solid rgba(213, 222, 233, .95);
    border-radius: 24px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 30px 80px rgba(3, 20, 44, .24), 0 3px 14px rgba(3, 20, 44, .08);
}

#content::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    content: "";
    background: linear-gradient(90deg, var(--wseas-gold), #f0d9a6 45%, var(--wseas-gold));
}

#content::after {
    display: none !important;
}

.submission-header {
    margin: 0 -58px 30px;
    padding: 32px 58px 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255,255,255,.05), transparent 55%),
        linear-gradient(120deg, var(--wseas-navy), var(--wseas-blue));
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand-logo {
    display: block;
    width: 58px;
    height: auto;
    flex: 0 0 auto;
    padding: 5px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 13px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.brand-name {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .16em;
}

.brand-caption {
    margin-top: 3px;
    color: rgba(255,255,255,.67);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.secure-badge {
    margin-left: auto;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #f7e9ca;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(255,255,255,.07);
}

.secure-badge::before {
    content: "●";
    margin-right: 7px;
    color: #5fe0ac;
    font-size: 10px;
}

.header-copy {
    max-width: 680px;
    padding-top: 34px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #e3c889;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.header-copy h1,
.submission-result h1 {
    position: static;
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: clamp(34px, 5vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    text-align: left;
    letter-spacing: -.025em;
}

.header-copy h1::before,
.header-copy h1::after,
.submission-result h1::before,
.submission-result h1::after {
    display: none !important;
}

.header-copy p {
    max-width: 620px;
    margin: 14px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.7;
}

.submission-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 34px;
    padding: 17px 19px;
    border: 1px solid #dce5f0;
    border-left: 4px solid var(--wseas-gold);
    border-radius: 12px;
    color: #43516a;
    font-size: 13px;
    line-height: 1.65;
    background: linear-gradient(90deg, #f8fafc, #fff);
}

.submission-notice strong {
    display: block;
    margin-bottom: 2px;
    color: var(--wseas-ink);
    font-size: 14px;
}

.notice-icon {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    flex: 0 0 25px;
    margin-top: 1px;
    border-radius: 50%;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    background: var(--wseas-blue);
}

form {
    margin: 0;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 38px 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wseas-border);
}

form > .section-heading:first-of-type {
    margin-top: 0;
}

.section-heading > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    flex: 0 0 42px;
    border: 1px solid #d9c08d;
    border-radius: 12px;
    color: var(--wseas-blue);
    font-size: 13px;
    font-weight: 900;
    background: linear-gradient(145deg, #fffaf0, var(--wseas-gold-soft));
}

.section-heading h2 {
    margin: 0;
    color: var(--wseas-navy);
    font-family: inherit;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

.section-heading p {
    margin: 3px 0 0;
    color: var(--wseas-muted);
    font-size: 12px;
}

.form-group {
    margin: 0 0 16px;
}

.form-group > label,
.field-label {
    display: block;
    margin: 0 0 5px;
    color: #26334a;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.form-group > label font,
.form-group > label font font {
    font-size: inherit !important;
}

.form-group > label font[color="red"],
.required-star {
    color: #c42843 !important;
}

.required-star {
    margin-right: 5px;
    font-weight: 900;
}

.form-control,
input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
textarea,
select {
    display: block;
    width: 100%;
    height: 50px;
    padding: 12px 14px;
    border: 1px solid #ccd5e0;
    border-radius: 10px;
    outline: 0;
    color: var(--wseas-ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    background: #fbfcfe;
    box-shadow: 0 1px 2px rgba(8, 35, 71, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

textarea.form-control,
textarea {
    min-height: 126px;
    height: auto;
    padding-top: 13px;
    resize: vertical;
}

select.form-control,
select {
    cursor: pointer;
    appearance: auto;
}

.form-control:hover,
input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):hover,
textarea:hover,
select:hover {
    border-color: #aebccc;
    background: #fff;
}

.form-control:focus,
input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]):focus,
textarea:focus,
select:focus {
    border-color: var(--wseas-blue-light);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 100, 167, .12), 0 5px 15px rgba(7, 29, 59, .06);
}

::placeholder {
    color: #98a3b2 !important;
    font-style: normal !important;
    opacity: 1;
}

input[type="file"].form-control {
    height: auto;
    min-height: 58px;
    padding: 9px;
    color: #657187;
    background: #f8fafc;
}

input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 15px;
    border: 0;
    border-radius: 7px;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    background: var(--wseas-blue);
    cursor: pointer;
    transition: background .18s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--wseas-blue-light);
}

input[type="hidden"] { display: none !important; }
.hint { margin: 0 0 8px; color: var(--wseas-muted); font-size: 14px; }
.form-group > label, .author label { font-size: 14px; }
.form-group select { overflow: hidden; text-overflow: ellipsis; }
.form-section:first-of-type .section-heading { margin-top: 0; }
.author {
    min-width: 0;
    margin: 0 0 14px;
    padding: 14px 16px 16px;
    border: 1px solid var(--wseas-border);
    border-radius: 12px;
}
.author legend { padding: 0 6px; color: var(--wseas-navy); font-weight: 750; }
.author .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 12px;
}
.author label { color: #26334a; font-weight: 750; }
.author input { margin-top: 5px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
button {
    padding: 11px 17px;
    border: 1px solid var(--wseas-blue);
    border-radius: 9px;
    font: inherit;
    font-weight: 750;
    color: #fff;
    background: var(--wseas-blue);
    cursor: pointer;
}
button[type="submit"] { padding: 13px 22px; }
button.secondary { color: var(--wseas-blue); background: #f5f8fc; }
button.copy-contact { margin-top: 12px; padding: 7px 12px; font-size: 14px; }
button:hover:not(:disabled) { box-shadow: 0 0 0 3px rgba(23, 100, 167, .14); }
button:focus-visible, a:focus-visible { outline: 3px solid var(--wseas-blue-light); outline-offset: 3px; }
button:disabled { opacity: .48; cursor: default; }
.error {
    padding: 12px 15px;
    border: 1px solid #e8bbc4;
    border-radius: 9px;
    color: var(--wseas-danger);
    background: #fff4f6;
}
.submission-footer {
    margin: 26px -58px 0;
    padding: 22px 58px;
    border-top: 1px solid var(--wseas-border);
    background: #f3f6fa;
}
.submission-footer__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
}
.submission-protection {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    color: #43516a;
    font-size: 13px;
}
.submission-protection > span {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--wseas-success);
    color: #fff;
    font-weight: 750;
}
.submission-footer__row button { margin-left: auto; }
.upload-progress { max-width: 34rem; margin-top: 16px; }
.upload-progress label { display: block; font-size: 14px; font-weight: 750; }
.upload-progress progress { display: block; width: 100%; height: 18px; accent-color: var(--wseas-blue-light); }
.upload-status { margin: 8px 0 0; color: var(--wseas-muted); font-size: 14px; }
.upload-status:empty { margin: 0; }
.card h2 { color: var(--wseas-navy); }
.card pre { padding: 12px 15px; background: #f5f8fc; font-family: inherit; white-space: pre-wrap; overflow-wrap: anywhere; }
.submission-success {
    margin: 0 0 12px;
    padding: clamp(20px, 5vw, 36px);
    border: 1px solid #dfe5ed;
    border-top: 3px solid var(--wseas-gold);
    border-radius: 16px;
    background: linear-gradient(145deg, #f7fafc, #fff 60%);
    box-shadow: 0 12px 30px rgba(7, 29, 59, .08);
}
.submission-success__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #e4f5ec;
    color: #126648;
    font-size: 23px;
    font-weight: 750;
}
.submission-success h2 {
    display: flex;
    align-items: center;
    gap: .35em;
    margin: 0 0 18px;
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
}
.submission-success__id {
    width: fit-content;
    max-width: 100%;
    padding: 12px 18px;
    border: 1px solid #e6d3ac;
    border-left: 4px solid var(--wseas-gold);
    border-radius: 9px;
    background: #fff8eb;
}
.submission-success__id span,
.submission-success__id strong { display: block; }
.submission-success__id span { color: #4a6179; font-size: 14px; }
.submission-success__id strong {
    color: var(--wseas-navy);
    font-size: clamp(23px, 4vw, 30px);
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
}
.submission-success p { margin: 14px 0; }
.submission-success__email {
    padding: 9px 12px;
    border-radius: 8px;
    background: #edf4fa;
    color: #324d66;
}
.submission-success .status-action__button { margin-top: 6px; }
.submission-dialog {
    width: min(590px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 1px solid var(--wseas-border);
    border-top: 4px solid var(--wseas-gold);
    border-radius: 14px;
    background: #fff;
    color: var(--wseas-ink);
    box-shadow: 0 16px 45px rgba(7, 29, 59, .25);
}
.submission-dialog::backdrop { background: rgba(7, 29, 59, .65); }
.submission-dialog__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px clamp(16px, 4vw, 24px);
    background: linear-gradient(120deg, var(--wseas-navy), var(--wseas-blue));
}
.submission-dialog__header h2 { margin: 0; color: #fff; font-size: 21px; }
.submission-dialog__body { padding: clamp(16px, 4vw, 24px); }
.submission-dialog .upload-progress { margin: 0; }
.submission-dialog .upload-progress label { display: flex; justify-content: space-between; gap: 12px; }
.submission-dialog .submission-success { margin: 0; }
a { color: var(--wseas-blue); }
@media (max-width: 600px) {
    body { padding: 14px 10px 24px; background-attachment: scroll !important; }
    #content { padding: 0 20px 24px; border-radius: 17px; }
    .submission-header { margin: 0 -20px 22px; padding: 21px 20px 24px; }
    .brand-row { padding-bottom: 15px; }
    .header-copy { padding-top: 22px; }
    .brand-logo { width: 49px; }
    .author { padding-right: 12px; padding-left: 12px; }
    .submission-footer { margin-right: -20px; margin-left: -20px; padding: 18px 20px; }
}

