/* ==========================================================
   SCRYKEEPER FEEDBACK
   ========================================================== */

.sk-feedback-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9000;

    min-height: 44px;
    padding: 0 16px;

    border: 1px solid #4a3b21;
    border-radius: 999px;

    background: #080808;
    color: #d4af63;

    font: 600 13px/1 system-ui, sans-serif;
    cursor: pointer;

    box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.sk-feedback-button:hover {
    border-color: #d4af63;
    color: #f0d18a;
}


.sk-feedback-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

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

    padding: 20px;
    background: rgba(0,0,0,.76);
}

.sk-feedback-overlay.open {
    display: flex;
}


.sk-feedback-modal {
    width: min(520px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;

    padding: 28px;

    border: 1px solid #272727;
    border-radius: 12px;

    background: #080808;
    color: #f4f1e9;

    box-shadow: 0 30px 100px rgba(0,0,0,.85);
}


.sk-feedback-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.sk-feedback-eyebrow {
    margin-bottom: 7px;

    color: #d4af63;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.sk-feedback-title {
    margin: 0;

    color: #f4f1e9;
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
}

.sk-feedback-close {
    border: 0;
    background: transparent;
    color: #8e8a82;
    font-size: 25px;
    cursor: pointer;
}


.sk-feedback-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 24px 0;
}

.sk-feedback-type {
    min-height: 42px;

    border: 1px solid #272727;
    border-radius: 7px;

    background: #0d0d0d;
    color: #b9b5ac;

    cursor: pointer;
}

.sk-feedback-type.selected {
    border-color: #d4af63;
    background: #15120c;
    color: #f0d18a;
}


.sk-feedback-label {
    display: block;
    margin: 18px 0 7px;

    color: #bbb7ae;
    font-size: 12px;
    font-weight: 600;
}

.sk-feedback-textarea,
.sk-feedback-email {
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #272727;
    border-radius: 7px;

    background: #0d0d0d;
    color: #f4f1e9;

    font: 15px/1.5 system-ui, sans-serif;

    outline: none;
}

.sk-feedback-textarea {
    min-height: 130px;
    padding: 12px;
    resize: vertical;
}

.sk-feedback-email {
    min-height: 46px;
    padding: 0 12px;
}

.sk-feedback-textarea:focus,
.sk-feedback-email:focus {
    border-color: #b9934f;
    box-shadow: 0 0 0 3px rgba(212,175,99,.07);
}


.sk-feedback-upload {
    padding: 14px;

    border: 1px dashed #343434;
    border-radius: 8px;

    background: #0b0b0b;
    color: #8e8a82;

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

.sk-feedback-upload input {
    margin-top: 10px;
    max-width: 100%;
}


.sk-feedback-preview {
    display: none;
    margin-top: 12px;
}

.sk-feedback-preview.visible {
    display: block;
}

.sk-feedback-preview img {
    display: block;
    max-width: 100%;
    max-height: 220px;

    border: 1px solid #272727;
    border-radius: 7px;
}


.sk-feedback-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;

    border: 1px solid #d4af63;
    border-radius: 7px;

    background: #d4af63;
    color: #080706;

    font-weight: 700;
    cursor: pointer;
}

.sk-feedback-submit:hover {
    background: #f0d18a;
}

.sk-feedback-submit:disabled {
    opacity: .55;
    cursor: wait;
}


.sk-feedback-status {
    min-height: 20px;
    margin-top: 12px;

    color: #8e8a82;
    font-size: 12px;
    text-align: center;
}

.sk-feedback-small {
    margin-top: 14px;

    color: #68655f;
    font-size: 11px;
    line-height: 1.5;
}


@media (max-width: 600px) {

    .sk-feedback-button {
        right: 12px;
        bottom: 12px;
    }

    .sk-feedback-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .sk-feedback-modal {
        width: 100%;
        max-height: 92vh;

        border-radius: 14px 14px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;

        padding: 22px 18px 28px;
    }

    .sk-feedback-title {
        font-size: 27px;
    }
}
