/* ---------------------------------------------------------------------------
   The "Drop CV" modal.

   It was showing database column names to the public - "Please Enter Cv_image",
   "Please Enter Postition", "Please Enter Skill_type" - and its three dropdowns
   opened with a hardcoded option reading "sdff" until the AJAX replaced it. The
   header was the brand red with black text on it.
   --------------------------------------------------------------------------- */

#staticBackdrop .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

#staticBackdrop .modal-header {
    background: #141312 !important;
    border-bottom: 3px solid var(--primary-color);
    padding: 18px 24px;
}

    #staticBackdrop .modal-title {
        color: #fff !important;
        font-weight: 700;
        letter-spacing: -.01em;
    }

    #staticBackdrop .btn-close {
        filter: invert(1) grayscale(100%) brightness(200%);
    }

#staticBackdrop .modal-body {
    padding: 22px 24px 24px;
}

.cv-intro {
    font-size: 13.5px;
    line-height: 1.7;
    color: #6f6b66;
    margin: 0 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e7e5e1;
}

#staticBackdrop .form-label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}

    #staticBackdrop .form-label .req {
        color: var(--primary-color);
    }

#staticBackdrop .form-control,
#staticBackdrop .form-select {
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14.5px;
}

    #staticBackdrop .form-control:focus,
    #staticBackdrop .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(235, 28, 36, .12);
    }

.cv-hint {
    display: block;
    font-size: 12px;
    color: #8a8580;
    margin-top: 4px;
}

/* The file field is the point of the form, so it gets the room to say so. */
.cv-file-wrap {
    border: 1px dashed #cfccc7;
    border-radius: 10px;
    padding: 14px 16px;
    background: #faf9f7;
}

    .cv-file-wrap .form-label {
        margin-bottom: 8px;
    }

.cv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e7e5e1;
}

    .cv-actions .btn {
        border-radius: 40px;
        padding: 10px 26px;
        font-weight: 600;
        font-size: 14.5px;
    }

@media (max-width: 575px) {
    #staticBackdrop .modal-body {
        padding: 18px 18px 20px;
    }

    .cv-actions .btn {
        flex: 1 1 auto;
    }
}

/* The send button had come out Bootstrap blue, which belongs to no other
   control on this site. */
#staticBackdrop .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

    #staticBackdrop .btn-primary:hover,
    #staticBackdrop .btn-primary:focus {
        background: #c8151c;
        border-color: #c8151c;
        color: #fff;
    }

/* Cancel is the way out, not a second offer - it reads as an outline. */
#staticBackdrop .btn-secondary {
    background: transparent;
    border-color: #cfccc7;
    color: #57534e;
}

    #staticBackdrop .btn-secondary:hover,
    #staticBackdrop .btn-secondary:focus {
        background: #f2f0ed;
        border-color: #b8b4ae;
        color: #2a2724;
    }

/* A long option - "Data Entry / Computer Operator" - was running under the
   chevron. */
#staticBackdrop .form-select {
    padding-right: 34px;
}

.cv-actions {
    margin-top: 6px;
}
