* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    min-height: 100vh;
    background: #f3f6fa;
    color: #18245c;
    font-family: "Sahel", sans-serif;
    line-height: 1.8
}

a {
    text-decoration: none;
    color: inherit
}

header {
    background: linear-gradient(105deg, #17245d, #123f68);
    border-bottom: 6px solid #f5c72d;
    color: #fff
}

.header {
    width: min(1380px, calc(100% - 80px));
    min-height: 100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between
}

/* 
.brand {
    display: flex;
    align-items: center;
    gap: 12px
}
 */



/* .brand>b {
    width: 65px;
    height: 65px;
    border: 7px solid #14d3d7;
    border-left-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 900 29px Arial;
    color: #14d3d7;
    transform: rotate(-18deg)
} */

/* .brand span {
    font-size: 27px;
    font-weight: bold;
    color: #12d1d5;
    display: flex;
    flex-direction: column;
    line-height: 1
} */

/* .brand small {
    font: 11px Arial;
    color: #8eeff0;
    letter-spacing: 2px;
    margin-top: 7px
} */


/* =========================
   Header
   ========================= */

header {
    background: linear-gradient(105deg, #17245d, #123f68);
    border-bottom: 6px solid #f5c72d;
    color: #fff;
}

.header {
    width: min(1380px, calc(100% - 80px));
    min-height: 100px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* DCOMP logo */

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    width: 280px;
    height: auto;
    display: block;
}

/* Navigation */

nav {
    display: flex;
    gap: 38px;
}

nav a {
    font-size: 19px;
    font-weight: bold;
    color: #fff;
}

nav a:hover {
    color: #f5c72d;
}


nav {
    display: flex;
    gap: 38px;
    order: 2
}

nav a {
    font-size: 19px;
    font-weight: bold
}

nav a:hover {
    color: #f52d98
}

main {
    width: min(1380px, calc(100% - 80px));
    margin: auto
}

.hero {
    margin-top: 48px;
    min-height: 530px;
    padding: 55px 65px;
    display: flex;
    align-items: center;
    gap: 50px;
    border-radius: 34px;
    background: linear-gradient(115deg, #fff, #f8fcfd 55%, #e6f4f7);
    box-shadow: 0 12px 35px #16274b12
}

.hero-text {
    flex: 1
}

.hero-text em {
    font-style: normal;
    color: #087d91;
    font-weight: bold
}

.hero h1 {
    font-size: clamp(35px, 4vw, 60px);
    line-height: 1.45;
    margin: 10px 0 18px
}

.hero p {
    font-size: 20px;
    color: #4b5563;
    margin-bottom: 30px
}

.btn {
    display: inline-block;
    min-width: 170px;
    padding: 12px 22px;
    margin-left: 10px;
    border-radius: 11px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #d6dee8
}

.primary {
    background: #0793a2;
    color: white;
    border-color: #0793a2
}

.visual {
    flex: .8;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center
}

.file-card {
    width: 380px;
    min-height: 320px;
    padding: 45px;
    background: linear-gradient(135deg, #087f9c, #172b68);
    color: #fff;
    text-align: center;
    border-radius: 28px 9px 52px 9px;
    box-shadow: 0 25px 40px #122b5238;
    transform: rotate(-2deg)
}

.check {
    width: 105px;
    height: 105px;
    border: 4px solid #f5c72d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #f5c72d;
    font: 60px Arial
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 30px 0 50px
}

.steps article {
    min-height: 220px;
    padding: 28px;
    background: #fff;
    border: 1px solid #dfe5ed;
    border-radius: 23px
}

.steps b {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0793a2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center
}

.steps h2 {
    font-size: 21px;
    margin: 15px 0 8px
}

.steps p {
    color: #667085
}

.form-page,
.dashboard {
    min-height: calc(100vh - 150px);
    padding: 55px 0;
    display: flex;
    justify-content: center
}

.form-card {
    width: min(820px, 100%);
    padding: 45px 55px;
    background: #fff;
    border: 1px solid #dfe5ed;
    border-radius: 25px;
    box-shadow: 0 15px 40px #16274b14
}

.login {
    max-width: 650px
}

.form-card h1 {
    text-align: center;
    font-size: 34px
}

.intro {
    text-align: center;
    color: #667085;
    margin: 5px 0 30px
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 16px
}

input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    font: 15px Tahoma;
    outline: 0
}

input:focus {
    border-color: #0793a2;
    box-shadow: 0 0 0 3px #0793a21a
}

.captcha-row {
    display: grid;
    grid-template-columns: 1fr 205px;
    gap: 20px;
    align-items: end
}

.captcha-row>div {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px
}

.captcha-row img {
    width: 180px;
    height: 62px;
    border: 1px solid #dfe5ed;
    border-radius: 10px
}

.captcha-row button {
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #d5dde7;
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer
}

.submit {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 10px;
    background: #0793a2;
    color: #fff;
    font: bold 17px Tahoma;
    cursor: pointer
}

.submit:hover {
    background: #087d91
}

.bottom {
    text-align: center;
    color: #667085;
    margin-top: 22px
}

.bottom a {
    color: #087d91;
    font-weight: bold
}

.alert {
    padding: 11px 14px;
    border-radius: 9px;
    margin-bottom: 18px
}

.alert.error {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3
}

.alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0
}

.dashboard .form-card {
    text-align: center
}

.success {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    background: #ecfdf5;
    border: 3px solid #34d399;
    color: #047857;
    font: 45px Arial
}

.profile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    text-align: right;
    margin-top: 30px
}

.profile div {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #dfe5ed;
    border-radius: 12px
}

.profile span {
    display: block;
    color: #667085;
    font-size: 13px
}

.disabled {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px
}

.disabled button {
    padding: 12px;
    border: 1px solid #dbe2ea;
    border-radius: 9px;
    background: #f8fafc;
    color: #8a94a6
}

.logout {
    display: block;
    width: 220px;
    margin: 25px auto 0;
    padding: 10px;
    background: #dc4758;
    color: #fff;
    border-radius: 9px;
    font-weight: bold
}

footer {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto 25px;
    text-align: center;
    color: #667085;
    font-size: 14px
}

@media(max-width:900px) {
    .hero {
        flex-direction: column-reverse;
        padding: 40px 25px
    }

    .hero-text {
        text-align: center
    }

    .steps {
        grid-template-columns: 1fr
    }

    .grid,
    .profile,
    .disabled {
        grid-template-columns: 1fr
    }

    .form-card {
        padding: 30px 20px
    }
}

@media(max-width:600px) {
    .header {
        width: calc(100% - 30px);
        flex-direction: column;
        padding: 14px 0;
        gap: 12px
    }

    .header nav {
        gap: 20px
    }

    .header nav a {
        font-size: 15px
    }

    main,
    footer {
        width: calc(100% - 30px)
    }

    .hero {
        margin-top: 25px
    }

    .hero h1 {
        font-size: 34px
    }

    .hero p {
        font-size: 17px
    }

    .file-card {
        width: 100%
    }

    .captcha-row {
        grid-template-columns: 1fr
    }

    .captcha-row>div {
        margin-bottom: 10px
    }
}



/* Dashboard / personal file */
.dashboard-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px
}

.dashboard-head h1 {
    margin: 6px 0 8px;
    font-size: 32px
}

.dashboard-head p {
    margin: 0;
    color: #64748b;
    line-height: 1.9
}

.eyebrow {
    font-size: 13px;
    color: #0f766e;
    font-weight: 800
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px
}

.dashboard-card,
.account-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06)
}

.wide-card {
    grid-column: 1/-1
}

.card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px
}

.card-title-row>div {
    display: flex;
    align-items: center;
    gap: 12px
}

.card-title-row h2,
.account-card h2 {
    margin: 0;
    font-size: 21px;
    color: #17245d
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #17245d;
    color: #fff;
    font-weight: 800
}

.status-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 7px 11px;
    border-radius: 999px;
    background: #ecfeff;
    color: #0f766e
}

.profile-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.field-full {
    grid-column: 1/-1
}

.field label {
    font-size: 13px;
    font-weight: 700;
    color: #334155
}

.field input,
.field textarea {
    font: inherit;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    box-sizing: border-box;
    outline: none
}

.field textarea {
    resize: vertical;
    line-height: 1.8
}

.field input:focus,
.field textarea:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .10)
}

.field input:disabled {
    background: #f8fafc;
    color: #64748b
}

.form-actions {
    display: flex;
    justify-content: flex-start
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 11px;
    padding: 11px 17px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent
}

.primary-button {
    background: #17245d;
    color: #fff
}

.primary-button:hover {
    opacity: .92
}

.secondary-button {
    background: #fff;
    color: #17245d;
    border-color: #cbd5e1
}

.secondary-button:hover {
    background: #f8fafc
}

.secondary-button.small,
.primary-button.small {
    padding: 9px 13px;
    font-size: 13px
}

.muted {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8
}

.image-preview {
    display: block;
    width: 100%;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin: 15px 0 10px
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

.empty-image {
    height: 210px;
    border-radius: 14px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0 10px
}

.empty-image.large {
    height: 280px;
    margin-bottom: 16px
}

.file-name {
    font-size: 12px;
    color: #64748b;
    word-break: break-all;
    margin: 8px 0 14px
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 11px
}

.upload-form input[type=file] {
    width: 100%;
    font-size: 13px
}

.account-card {
    margin-bottom: 22px
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 18px
}

.info-grid>div {
    padding: 16px;
    border-left: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0
}

.info-grid>div:nth-child(even) {
    border-left: 0
}

.info-grid .full-info {
    grid-column: 1/-1;
    border-left: 0
}

.info-grid span {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 6px
}

.info-grid strong {
    display: block;
    color: #17245d;
    line-height: 1.8;
    word-break: break-word
}

.account-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 18px
}

.account-image-card {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    background: #f8fafc
}

.account-image-card h3 {
    margin: 0 0 12px;
    color: #334155;
    font-size: 17px
}

.account-image-card>img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: block
}

.image-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

@media(max-width:800px) {
    .dashboard-head {
        flex-direction: column;
        align-items: stretch
    }

    .dashboard-grid,
    .account-images,
    .profile-form,
    .info-grid {
        grid-template-columns: 1fr
    }

    .wide-card {
        grid-column: auto
    }

    .field-full {
        grid-column: auto
    }

    .info-grid>div {
        border-left: 0
    }

    .info-grid .full-info {
        grid-column: auto
    }
}


/* =========================================================
   HOMEPAGE - FIT EVERYTHING ON ONE SCREEN
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: Tahoma, sans-serif;
}

/* ---------- Header ---------- */

header {
    padding: 8px 0;
}

.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo img {
    width: 210px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------- Hero ---------- */

.hero {
    max-width: 1200px;
    margin: 0 auto;

    min-height: 300px;

    padding: 25px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}

.hero-text {
    max-width: 620px;
}

.hero-text em {
    font-size: 15px;
    font-style: normal;
}

.hero-text h1 {
    font-size: 30px;
    line-height: 1.35;
    margin: 10px 0 12px;
}

.hero-text p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 18px;
}

.hero-text .btn {
    padding: 10px 20px;
    font-size: 15px;
}

/* ---------- Right visual ---------- */

.visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-card {
    width: 250px;
    padding: 25px;
}

.file-card .check {
    font-size: 35px;
}

.file-card h3 {
    font-size: 19px;
    margin: 10px 0;
}

.file-card p {
    font-size: 14px;
}

/* ---------- Three steps ---------- */

.steps {
    max-width: 1200px;
    margin: 0 auto;

    padding: 10px 25px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.steps article {
    padding: 15px;
}

.steps article b {
    font-size: 25px;
}

.steps article h2 {
    font-size: 19px;
    margin: 8px 0;
}

.steps article p {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Footer ---------- */

footer {
    padding: 12px 20px;
    font-size: 13px;
    text-align: center;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 900px) {

    .hero {
        min-height: auto;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 18px;
    }

    .brand-logo img {
        width: 180px;
    }

    .file-card {
        width: 200px;
    }
}