/* ==================================================
   FIELD REFERENCE
   ================================================== */

.field-reference-section {
    margin: 45px 0 30px;
}

.field-reference-section h2 {
    margin: 0 0 22px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #0f172a;
}


/* ==================================================
   FIELD TABLE
   ================================================== */

.field-reference-table-wrapper {
    width: 100%;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
}

.field-reference-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 15px;
}

.field-reference-table th {
    padding: 16px 24px;
    text-align: left;
    background: #f5f2ff;
    color: #172554;
    font-weight: 700;
    border-bottom: 1px solid #ddd9ed;
}

.field-reference-table td {
    padding: 17px 24px;
    color: #52627a;
    line-height: 1.55;
    border-bottom: 1px solid #e2e5eb;
    vertical-align: middle;
}

.field-reference-table tr:last-child td {
    border-bottom: none;
}

.field-reference-table th:nth-child(1),
.field-reference-table td:nth-child(1) {
    width: 14%;
}

.field-reference-table th:nth-child(2),
.field-reference-table td:nth-child(2) {
    width: 11%;
    text-align: center;
}

.field-reference-table th:nth-child(3),
.field-reference-table td:nth-child(3) {
    width: 75%;
}


/* ==================================================
   REQUIRED BADGES
   ================================================== */

.required-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 64px;
    padding: 7px 15px;

    border-radius: 20px;

    font-size: 14px;
    font-weight: 500;
}

.required-badge.yes {
    background: #dcfce9;
    color: #16a34a;
}

.required-badge.no {
    background: #eef2f8;
    color: #52627a;
}

/* ==================================================
   RESPONSIVE — TABLET
   ================================================== */

@media (max-width: 1024px) {

    .field-reference-section {
        margin: 40px 0 28px;
    }

    .field-reference-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .field-reference-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .field-reference-table {
        min-width: 700px;
        font-size: 15px;
    }

    .field-reference-table th,
    .field-reference-table td {
        padding: 14px 18px;
    }

    .required-badge {
        min-width: 58px;
        padding: 6px 12px;
        font-size: 13px;
    }
}


/* ==================================================
   RESPONSIVE — MOBILE
   ================================================== */

@media (max-width: 768px) {

    .field-reference-section {
        margin: 32px 0 24px;
    }

    .field-reference-section h2 {
        font-size: 25px;
        margin-bottom: 18px;
    }

    .field-reference-table-wrapper {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        border-radius: 8px;
    }

    .field-reference-table {
        min-width: 680px;
        font-size: 15px;
    }

    .field-reference-table th {
        padding: 13px 16px;
        font-size: 14px;
    }

    .field-reference-table td {
        padding: 14px 16px;
        font-size: 15px;
        line-height: 1.5;
    }

    .required-badge {
        min-width: 54px;
        padding: 6px 11px;
        font-size: 13px;
    }
}


/* ==================================================
   RESPONSIVE — SMALL MOBILE
   ================================================== */

@media (max-width: 480px) {

    .field-reference-section {
        margin: 28px 0 22px;
    }

    .field-reference-section h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .field-reference-table-wrapper {
        overflow-x: auto;
        border-radius: 7px;
    }

    .field-reference-table {
        min-width: 650px;
        font-size: 15px;
    }

    .field-reference-table th {
        padding: 12px 14px;
        font-size: 14px;
    }

    .field-reference-table td {
        padding: 13px 14px;
        font-size: 15px;
        line-height: 1.5;
    }

    .required-badge {
        min-width: 50px;
        padding: 5px 10px;
        font-size: 12px;
    }
}


/* ==================================================
   RESPONSIVE — VERY SMALL MOBILE
   ================================================== */

@media (max-width: 360px) {

    .field-reference-section h2 {
        font-size: 20px;
    }

    .field-reference-table {
        min-width: 620px;
    }

    .field-reference-table th,
    .field-reference-table td {
        padding: 11px 12px;
    }
}





/* ==================================================
   ARCHIVE A PROJECT CARD
   ================================================== */

#archive-a-project {
    padding: 18px 24px 24px;
    min-height: auto;
    box-sizing: border-box;
}


/* ==================================================
   CARD HEADER
   ================================================== */

#archive-a-project .card-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

#archive-a-project .card-title img {
    width: 54px;
    height: 54px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 15px;
    background: #eafbf1;
}

#archive-a-project .card-title h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}


/* ==================================================
   DESCRIPTION
   ================================================== */

#archive-a-project > p {
    margin: 0 0 22px;
    color: #52627a;
    font-size: 17px;
    line-height: 1.75;
}


/* ==================================================
   SECTION HEADINGS
   ================================================== */

#archive-a-project h4 {
    margin: 22px 0 14px;

    color: #7b8799;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2px;
}


/* ==================================================
   BEHAVIOR / ARCHIVE VS DELETE LIST
   ================================================== */

/*
   Important:
   Override the global .resource-card li flex layout.
*/

#archive-a-project ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#archive-a-project li {
    position: relative;

    display: block;

    margin: 0 0 14px;
    padding: 0 0 0 28px;

    color: #52627a;

    font-size: 16px;
    line-height: 1.65;

    box-sizing: border-box;
}


/* Green checkmark */

#archive-a-project li::before {
    content: "✓" !important;

    position: absolute;

    left: 0;
    top: 0.05em;

    margin: 0 !important;
    padding: 0 !important;

    color: #22c55e !important;

    font-size: 18px;
    line-height: 1.5;

    font-weight: 700;
}


/* ==================================================
   STRONG TEXT
   ================================================== */

#archive-a-project li strong {
    color: #263653;
    font-weight: 700;
}


/* ==================================================
   HOW TO ARCHIVE
   ================================================== */

#archive-a-project > p:last-child {
    margin-top: 20px;
    margin-bottom: 0;

    color: #52627a;

    font-size: 16px;
    line-height: 1.7;
}

#archive-a-project > p:last-child strong {
    color: #263653;
    font-weight: 700;
}


/* ==================================================
   CARD RESPONSIVE
   ================================================== */

@media (max-width: 768px) {

    #archive-a-project {
        padding: 18px 20px 22px;
    }

    #archive-a-project .card-title {
        gap: 13px;
        margin-bottom: 18px;
    }

    #archive-a-project .card-title img {
        width: 48px;
        height: 48px;
        padding: 9px;
    }

    #archive-a-project .card-title h3 {
        font-size: 20px;
    }

    #archive-a-project > p {
        font-size: 16px;
        line-height: 1.65;
    }

    #archive-a-project li {
        padding-left: 26px;

        font-size: 15px;
        line-height: 1.6;
    }

    #archive-a-project li::before {
        font-size: 17px;
    }

    #archive-a-project h4 {
        font-size: 12px;
        margin-top: 20px;
    }
}


@media (max-width: 480px) {

    #archive-a-project {
        padding: 16px;
        border-radius: 14px;
    }

    #archive-a-project .card-title {
        align-items: flex-start;
    }

    #archive-a-project .card-title img {
        width: 44px;
        height: 44px;
    }

    #archive-a-project .card-title h3 {
        font-size: 18px;
    }

    #archive-a-project > p,
    #archive-a-project > p:last-child {
        font-size: 15px;
        line-height: 1.6;
    }

    #archive-a-project li {
        padding-left: 24px;
        margin-bottom: 12px;
        font-size: 15px;
    }

    #archive-a-project li::before {
        font-size: 16px;
    }
}


