/* =========================================================
   CREATE CONVERSATION
   ========================================================= */

.conversation-create {
    min-height: calc(100vh - 90px);

    padding: 80px 25px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(0,108,177,.09),
            transparent 35%
        ),
        #0A0A0A;

    box-sizing: border-box;
}


.conversation-create-container {
    width: min(1050px, 100%);

    margin: 0 auto;
}


/* =========================================================
   INTRO
   ========================================================= */

.conversation-intro {
    max-width: 650px;

    margin-bottom: 35px;
}

.conversation-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.conversation-intro h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.03;

    font-weight: 300;

    letter-spacing: -1.5px;
}

.conversation-intro h1 strong {
    font-weight: 800;
}

.conversation-intro p {
    max-width: 570px;

    margin: 20px 0 0;

    color: #7e858e;

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


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

.conversation-card {
    overflow: hidden;

    background: var(--dark2);

    border: 1px solid rgba(255,255,255,.07);

    border-radius: 12px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);
}


/* =========================================================
   RECIPIENT
   ========================================================= */

.conversation-recipient {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 22px 28px;
}

.recipient-avatar {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--navy)
        );

    color: #fff;

    font-size: 17px;
    font-weight: 800;

    box-shadow:
        0 5px 20px rgba(0,108,177,.2);
}

.recipient-info {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.recipient-label {
    color: #59616a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.recipient-info strong {
    color: #fff;

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

.recipient-role {
    color: #737b84;

    font-size: 10px;
}

.recipient-status {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-left: auto;

    color: #69717a;

    font-size: 9px;
    font-weight: 700;
}

.recipient-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #45b36b;

    box-shadow:
        0 0 0 4px rgba(69,179,107,.08);
}


/* =========================================================
   SEPARATOR
   ========================================================= */

.conversation-separator {
    height: 1px;

    margin: 0 28px;

    background: rgba(255,255,255,.06);
}


/* =========================================================
   FORM
   ========================================================= */

.conversation-form {
    padding: 30px 28px 28px;
}

.conversation-form-header {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 25px;
}

.form-eyebrow {
    display: block;

    margin-bottom: 6px;

    color: #59616a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.conversation-form-header h2 {
    margin: 0;

    color: #fff;

    font-size: 20px;
    font-weight: 800;
}

.form-number {
    color: rgba(255,255,255,.07);

    font-size: 32px;
    font-weight: 900;

    line-height: 1;
}


/* =========================================================
   MESSAGE
   ========================================================= */

.message-field label {
    display: block;

    margin-bottom: 8px;

    color: #858c95;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}

.message-field textarea {
    display: block;

    width: 100%;
    min-height: 170px;

    box-sizing: border-box;

    padding: 15px;

    resize: vertical;

    background: #0d0f14;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 6px;

    outline: none;

    color: #e7e9eb;

    font-family: inherit;

    font-size: 12px;

    line-height: 1.6;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.message-field textarea::placeholder {
    color: #41474f;
}

.message-field textarea:focus {
    background: #10131a;

    border-color: rgba(0,108,177,.65);

    box-shadow:
        0 0 0 3px rgba(0,108,177,.08);
}

.message-footer {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    margin-top: 7px;

    color: #4f565e;

    font-size: 8px;
}

#message-counter {
    white-space: nowrap;
}


/* =========================================================
   QUICK TOPICS
   ========================================================= */

.quick-topics {
    margin-top: 22px;
}

.quick-topics-label {
    display: block;

    margin-bottom: 9px;

    color: #59616a;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}

.quick-topics-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.quick-topics-buttons button {
    padding: 7px 11px;

    background: transparent;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 4px;

    color: #737b84;

    font-family: inherit;

    font-size: 8px;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}

.quick-topics-buttons button:hover,
.quick-topics-buttons button.selected {
    background: rgba(0,108,177,.08);

    border-color: rgba(0,108,177,.4);

    color: #4db3ea;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.conversation-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    margin-top: 30px;

    padding-top: 22px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.conversation-cancel {
    color: #666e77;

    font-size: 9px;
    font-weight: 700;

    text-decoration: none;

    transition: color .2s ease;
}

.conversation-cancel:hover {
    color: #fff;
}

.conversation-submit {
    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 42px;

    padding: 0 18px;

    background: var(--blue);

    border: 0;

    border-radius: 5px;

    color: #fff;

    font-family: inherit;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .8px;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.conversation-submit:hover {
    background: #007bc9;

    transform: translateY(-1px);

    box-shadow:
        0 8px 25px rgba(0,108,177,.2);
}

.conversation-submit strong {
    font-size: 17px;

    font-weight: 400;

    transition: transform .2s ease;
}

.conversation-submit:hover strong {
    transform: translateX(3px);
}


/* =========================================================
   SECURITY
   ========================================================= */

.conversation-security {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 16px;

    color: #4d545c;

    font-size: 8px;
    line-height: 1.5;
}

.security-icon {
    width: 17px;
    height: 17px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 50%;

    color: #65707a;

    font-size: 8px;
}


/* =========================================================
   ERRORS
   ========================================================= */

.form-error {
    margin-top: 7px;

    color: #e16600;

    font-size: 9px;
    font-weight: 600;
}


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

@media (max-width: 700px) {

    .conversation-create {
        padding: 45px 15px;
    }

    .conversation-recipient {
        padding: 18px;
    }

    .conversation-separator {
        margin: 0 18px;
    }

    .conversation-form {
        padding: 24px 18px 20px;
    }

    .recipient-status {
        display: none;
    }

    .conversation-intro h1 {
        font-size: 38px;
    }

    .conversation-actions {
        flex-direction: column-reverse;

        align-items: stretch;
    }

    .conversation-submit {
        justify-content: center;
    }

    .conversation-cancel {
        text-align: center;
    }

}

/* =========================================================
   ADMIN SELECTOR
   ========================================================= */

.admin-selector {
    margin-bottom: 25px;
}

.admin-selector label {
    display: block;

    margin-bottom: 8px;

    color: #858c95;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .7px;

    text-transform: uppercase;
}

.admin-selector select {
    display: block;

    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 15px;

    background: #0d0f14;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 6px;

    outline: none;

    color: #e7e9eb;

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.admin-selector select:hover {
    border-color: rgba(255,255,255,.15);
}

.admin-selector select:focus {
    background: #10131a;

    border-color: rgba(0,108,177,.65);

    box-shadow:
        0 0 0 3px rgba(0,108,177,.08);
}

.admin-selector select option {
    background: #181B22;

    color: #fff;
}