/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================
   BODY
========================================== */

body {

    min-height: 100vh;

    background: #eef5ff;

    color: #1f2937;

    font-family: Arial, Helvetica, sans-serif;
}


/* ==========================================
   HEADER
========================================== */


/* ==========================================
   PAGE
========================================== */

.help-page {

    width: min(1000px, 95%);

    margin: 35px auto;
}

/* ==========================================
   HELP PAGE BREADCRUMB
========================================== */

.help-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    margin-bottom: 20px;
    padding: 13px 17px;

    border: 1px solid #dbe5ef;
    border-radius: 10px;

    background: #ffffff;
    color: #64748b;

    font-size: 14px;
    font-weight: 600;

    box-shadow:
        0 4px 14px
        rgba(15, 23, 42, 0.06);
}

.help-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #123d73;
    text-decoration: none;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.help-breadcrumb a:hover {
    color: #b77908;
    transform: translateX(-1px);
}

.help-breadcrumb-separator {
    color: #d4af37;

    font-size: 20px;
    line-height: 1;
}

/* ==========================================
   COMMON CARD
========================================== */

.help-introduction,
.help-login-message,
.help-form-card {

    margin-bottom: 25px;

    padding: 28px;

    background: white;

    border-radius: 12px;

    border: 1px solid #d8e4ef;

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}


/* ==========================================
   INTRODUCTION
========================================== */

.help-introduction {
    position: relative;

    overflow: hidden;

    padding: 40px 30px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 100%
        );
}

.help-introduction::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            #07152d,
            #d4af37,
            #07152d
        );
}

.help-introduction h2 {
    margin-bottom: 15px;

    color: #07152d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(30px, 4vw, 44px);
}

.help-introduction p {
    width: min(760px, 100%);
    margin: 0 auto;

    color: #64748b;

    font-size: 16px;
    line-height: 1.8;
}

/* ==========================================
   LOGIN MESSAGE
========================================== */

.help-login-message {

    text-align: center;

    background: #fff7ed;

    border: 1px solid #fed7aa;
}


.help-login-message p {

    margin-bottom: 15px;
}


/* ==========================================
   BUTTONS
========================================== */

.help-primary-button,
.help-secondary-button,
.help-primary-link {
    display: inline-block;

    padding: 11px 20px;

    border: 1px solid #d4af37;
    border-radius: 7px;

    background:
        linear-gradient(
            145deg,
            #10254a,
            #020b1b
        );

    color: #ffffff;

    text-decoration: none;

    cursor: pointer;

    font-weight: 700;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.help-primary-button:hover,
.help-secondary-button:hover,
.help-primary-link:hover {
    background: #d4af37;
    color: #07152d;

    transform: translateY(-1px);
}


.help-secondary-button {

    white-space: nowrap;
}


/* ==========================================
   OPTION CARDS
========================================== */

.help-options {

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 20px;

    margin-bottom: 30px;
}


.help-option-card {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 25px;

    border: 1px solid #d8e4ef;

    border-radius: 12px;

    background: white;

    cursor: pointer;

    transition: .25s;

    text-align: left;
}


.help-option-card:hover {
    transform: translateY(-4px);

    border-color: #d4af37;

    box-shadow:
        0 10px 25px
        rgba(133, 88, 5, 0.14);
}

.help-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #10254a,
            #020b1b
        );

    color: #f0ca62;

    font-size: 28px;

    box-shadow:
        0 5px 13px
        rgba(2, 11, 27, 0.18);
}

.help-option-content {

    display: flex;

    flex-direction: column;

    gap: 8px;
}


.help-option-content strong {
    color: #07152d;
    font-size: 18px;
}


.help-option-content small {

    color: #64748b;

    line-height: 1.6;
}


/* ==========================================
   FORM
========================================== */

.help-form-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}


.help-form-heading h2 {

    color: #123d73;
}


.close-help-form {

    border: none;

    background: none;

    font-size: 28px;

    cursor: pointer;

    color: #64748b;
}


.close-help-form:hover {

    color: #dc2626;
}


.help-form-description {

    margin-bottom: 20px;

    color: #64748b;

    line-height: 1.6;
}


/* ==========================================
   GRID
========================================== */

.help-form-grid {

    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 18px;
}


.full-width-field {

    grid-column: 1 / -1;
}


/* ==========================================
   FORM GROUP
========================================== */

.help-form-group {

    margin-bottom: 18px;
}


.help-form-group label {

    display: block;

    margin-bottom: 7px;

    font-weight: bold;
}


.help-form-group input,
.help-form-group select,
.help-form-group textarea {

    width: 100%;

    padding: 11px 12px;

    border: 1px solid #c9d6e4;

    border-radius: 7px;

    outline: none;

    font: inherit;

    background: white;
}


.help-form-group input:focus,
.help-form-group select:focus,
.help-form-group textarea:focus {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}


.help-form-group textarea {

    resize: vertical;
}


/* ==========================================
   SEARCH
========================================== */

.help-search-row {

    display: flex;

    gap: 12px;
}


/* ==========================================
   SEARCH RESULTS
========================================== */

.report-profile-results {

    margin: 20px 0;

    padding: 18px;

    border: 1px dashed #cbd5e1;

    border-radius: 8px;

    background: #f8fbff;

    min-height: 90px;
}


/* ==========================================
   SELECTED PROFILE
========================================== */

.selected-report-profile {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-bottom: 20px;

    padding: 15px;

    background: #ecfdf5;

    border: 1px solid #a7f3d0;

    border-radius: 8px;
}


.selected-report-profile button {

    padding: 7px 14px;

    border: none;

    border-radius: 6px;

    background: #ef4444;

    color: white;

    cursor: pointer;
}


/* ==========================================
   MESSAGE
========================================== */

.help-form-message {

    margin-top: 18px;

    font-weight: bold;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:900px){

.help-options{

grid-template-columns:1fr;

}

.help-form-grid{

grid-template-columns:1fr;

}

.full-width-field{

grid-column:1;

}

}


@media (max-width:650px){

.help-search-row{

flex-direction:column;

}

.selected-report-profile{

flex-direction:column;

align-items:flex-start;

}

.help-breadcrumb {
    gap: 7px;

    padding: 11px 12px;

    font-size: 12px;
}

.help-breadcrumb-separator {
    font-size: 17px;
}

.help-introduction {
    padding: 30px 18px;
}

.help-introduction p {
    font-size: 14px;
}

}

/* ==========================================
   REPORT SEARCH RESULT CARDS
========================================== */

.report-result-card {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 12px;
    padding: 13px;

    border: 1px solid #d8e4ef;
    border-radius: 8px;

    background: #ffffff;
}

.report-result-card:last-child {
    margin-bottom: 0;
}

.report-result-photo {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border: 2px solid #e2e8f0;
    border-radius: 50%;

    object-fit: cover;
}

.report-result-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;

    min-width: 0;
}

.report-result-details strong {
    color: #123d73;
    font-size: 15px;
}

.report-result-details span {
    color: #64748b;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.select-report-profile-button {
    flex-shrink: 0;

    padding: 8px 14px;

    border: none;
    border-radius: 6px;

    background: #2563eb;
    color: #ffffff;

    font-weight: 700;
    cursor: pointer;
}

.select-report-profile-button:hover {
    background: #1d4ed8;
}

.help-form-message.success {
    color: #15803d;
}

.help-form-message.error {
    color: #b91c1c;
}

@media (max-width: 600px) {

    .report-result-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .report-result-details {
        width: calc(100% - 75px);
    }

    .select-report-profile-button {
        width: 100%;
    }
}