.ab-upload-page { padding: 14px 12px 38px; background: linear-gradient(180deg, #f6f9ff 0%, #fff 100%); color: #243552; }
.ab-upload-wrap { width: 90%; max-width: none; margin: 0 auto; }
.ab-upload-heading { text-align: center; margin-bottom: 16px; }
.ab-upload-heading h1 { margin: 0 0 6px; font-size: clamp(27px, 3.3vw, 42px); line-height: 1.15; color: #203251; }
.ab-upload-heading p { margin: auto; color: #5a6983; font-size: 16px; line-height: 1.45; }
.ab-upload-card { padding: 24px 28px; background: #fff; border: 1px solid #e0e8f7; border-radius: 22px; box-shadow: 0 18px 55px rgba(34, 65, 121, .10); }
.ab-upload-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 14px; }
.ab-upload-icon { flex: 0 0 60px; width: 60px; height: 60px; display: grid; place-items: center; background: #edf3ff; border-radius: 18px; color: #587deb; font-size: 37px; font-weight: 700; }
.ab-upload-card-top h2 { margin: 0 0 5px; font-size: 24px; color: #263852; }
.ab-upload-card-top p { margin: 0; color: #63728b; line-height: 1.5; }
.ab-upload-picker { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 105px; padding: 14px; border: 2px dashed #9fb9f6; border-radius: 17px; background: #f5f8ff; text-align: center; color: #385fc2; cursor: pointer; transition: background .2s, border-color .2s; }
.ab-upload-picker:hover, .ab-upload-picker:focus-within { background: #edf3ff; border-color: #5c80e8; }
.ab-upload-picker-title { font-size: 19px; font-weight: 700; }
.ab-upload-picker-hint { margin-top: 8px; color: #6d7d9b; font-size: 14px; }
.ab-upload-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-contribution__filename { padding: 8px 0 11px; color: #627089; text-align: center; overflow-wrap: anywhere; }
.file-contribution__filename.has-file { color: #27468d; font-weight: 700; }
.ab-upload-submit { display: flex; justify-content: center; align-items: center; gap: 13px; width: 100%; min-height: 56px; padding: 12px; border: 0; border-radius: 14px; background: #577fe9; color: white; font: 700 17px/1.3 Ubuntu, sans-serif; cursor: pointer; }
.ab-upload-submit:hover { background: #436cdb; }
.ab-upload-submit:disabled { opacity: .7; cursor: wait; }
.file-contribution__message { margin-top: 12px; border-radius: 12px; text-align: center; }
.file-contribution__message:not(:empty) { padding: 12px; }
.file-contribution__message.is-success { background: #eaf7ef; color: #267045; }
.file-contribution__message.is-error { background: #fff0f0; color: #ab3838; }
.file-contribution__message.is-info { background: #edf3ff; color: #315bb8; }
.file-contribution__progress[hidden] { display: none; }
.file-contribution__progress { margin-top: 12px; height: 24px; overflow: hidden; border-radius: 100px; background: #e7edfb; }
.file-contribution__progress-bar { width: 0; height: 100%; border-radius: inherit; background: #5883ea; color: white; text-align: center; font-weight: 700; line-height: 24px; transition: width .2s; }
.ab-upload-formats { margin: 10px 0 0; color: #65748e; font-size: 13px; line-height: 1.5; }
.ab-upload-formats strong { color: #344e83; }
.ab-upload-steps { display: grid; gap: 8px; margin-top: 16px; }
.ab-upload-steps p { display: flex; align-items: baseline; gap: 13px; margin: 0; color: #52637d; line-height: 1.5; }
.ab-upload-steps b { color: #5880df; font-size: 14px; }
.ab-upload-reward { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 12px; padding: 15px 22px; border: 1px solid #dbeee3; border-radius: 17px; background: #f0faf4; }
.ab-upload-reward strong { display: block; margin-bottom: 4px; color: #23734d; font-size: 20px; }
.ab-upload-reward span, .ab-upload-reward p { color: #466955; line-height: 1.5; }
.ab-upload-reward p { max-width: 370px; margin: 0; }
.ab-upload-reward a { color: #245fb9; font-weight: 700; }
@media(min-width: 900px) {
    .ab-upload-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 34px; align-items: start; }
    .ab-upload-card-top { grid-column: 1; grid-row: 1; }
    .ab-upload-card form { grid-column: 2; grid-row: 1 / span 3; }
    .ab-upload-formats { grid-column: 1; grid-row: 2; }
    .ab-upload-steps { grid-column: 1; grid-row: 3; }
}
@media(max-width: 650px) {
    .ab-upload-page { padding: 12px 5px 32px; }
    .ab-upload-wrap { width: 100%; }
    .ab-upload-heading { padding: 0 7px; margin-bottom: 12px; }
    .ab-upload-heading h1 { font-size: 28px; }
    .ab-upload-heading p { font-size: 14px; }
    .ab-upload-card { padding: 17px 13px; border-radius: 16px; }
    .ab-upload-card-top { align-items: flex-start; gap: 13px; }
    .ab-upload-icon { flex-basis: 48px; width: 48px; height: 48px; font-size: 28px; }
    .ab-upload-card-top h2 { font-size: 20px; }
    .ab-upload-card-top p { font-size: 14px; }
    .ab-upload-reward { display: block; padding: 15px; }
    .ab-upload-reward > a, .ab-upload-reward > p { display: block; margin-top: 12px; }
}
