/* TossSpace RECEIVE */

.receive-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 54px 0 72px;
}

.receive-create-hero {
    max-width: 900px;
    margin: 0 auto 28px;
    text-align: center;
}

.receive-create-hero h1 {
    margin: 10px 0 12px;
    color: #223152;
    font-size: clamp(38px, 5.4vw, 66px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.receive-create-hero p {
    max-width: 660px;
    margin: 0 auto;
    color: #6f7788;
    font-size: 15px;
    line-height: 1.65;
}

.receive-create-card,
.receive-live-card {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 28px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 26px 75px rgba(34, 49, 82, 0.12);
}

.receive-auth-note {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #223152;
    background: #fff7db;
    font-size: 12px;
    line-height: 1.5;
}

.receive-create-card textarea,
.receive-upload-box textarea {
    width: 100%;
    resize: vertical;
    min-height: 90px;
    padding: 12px 13px;
    border: 1px solid #e7dfc8;
    border-radius: 12px;
    color: #223152;
    background: #fff;
    font: inherit;
    line-height: 1.5;
}

.receive-create-card textarea:focus,
.receive-upload-box textarea:focus {
    outline: none;
    border-color: #223152;
    box-shadow: 0 0 0 4px rgba(34, 49, 82, 0.08);
}

.receive-live-card {
    width: min(920px, 100%);
}

.receive-live-heading,
.receive-owner-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.receive-live-heading h1 {
    margin: 4px 0 8px;
    color: #223152;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.receive-live-heading p {
    max-width: 650px;
    margin: 0;
    color: #6f7788;
    line-height: 1.6;
}

.receive-meta-row {
    margin-top: 20px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e7dfc8;
    border-radius: 13px;
    background: #fbf7ec;
}

.receive-meta-row span {
    color: #6f7788;
    font-size: 11px;
}

.receive-meta-row strong {
    color: #223152;
    font-size: 12px;
}

.receive-upload-box,
.receive-owner-panel {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 18px;
    background: #fffdf8;
}

.receive-upload-box h2,
.receive-owner-panel h2 {
    margin: 4px 0 5px;
    color: #223152;
    font-size: 22px;
}

.receive-helper-copy {
    margin: 0 0 18px;
    color: #6f7788;
    font-size: 12px;
    line-height: 1.55;
}

.receive-upload-complete {
    margin-top: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(34, 49, 82, 0.10);
    border-radius: 14px;
    background: #fff7db;
}

.receive-upload-complete > div:last-child {
    display: grid;
    gap: 2px;
}

.receive-upload-complete strong {
    color: #223152;
    font-size: 13px;
}

.receive-upload-complete span {
    color: #6f7788;
    font-size: 11px;
}

.receive-submissions-list {
    margin-top: 16px;
    display: grid;
    gap: 13px;
}

.receive-submission-card {
    padding: 15px;
    border: 1px solid #e7dfc8;
    border-radius: 14px;
    background: #ffffff;
}

.receive-submission-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.receive-submission-head > div {
    display: grid;
    gap: 3px;
}

.receive-submission-head strong {
    color: #223152;
    font-size: 14px;
}

.receive-submission-head span {
    color: #7a8290;
    font-size: 10px;
}

.receive-submission-message {
    margin: 12px 0;
    padding: 10px 11px;
    border-radius: 10px;
    color: #39425b;
    background: #fbf7ec;
    font-size: 12px;
    line-height: 1.55;
}

.receive-submission-summary {
    margin: 10px 0;
    color: #6f7788;
    font-size: 11px;
}

.receive-submission-files {
    display: grid;
    gap: 8px;
}

.receive-owner-file {
    padding: 10px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(34, 49, 82, 0.08);
    border-radius: 11px;
}

.receive-owner-file > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.receive-owner-file strong {
    overflow: hidden;
    color: #223152;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.receive-owner-file span {
    color: #7a8290;
    font-size: 10px;
}

@media (max-width: 760px) {
    .receive-shell {
        width: min(100% - 22px, 1180px);
        padding-top: 32px;
    }

    .receive-create-card,
    .receive-live-card {
        padding: 20px;
        border-radius: 20px;
    }

    .receive-live-heading,
    .receive-owner-heading {
        flex-direction: column;
    }

    .receive-owner-heading .room-share-actions {
        width: 100%;
    }

    .receive-owner-file {
        align-items: flex-start;
        flex-direction: column;
    }

    .receive-owner-file button {
        width: 100%;
    }
}


/* =========================================================
   RECEIVE SHARING
========================================================= */

.receive-created-actions {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.receive-created-actions .secondary-button,
.receive-created-actions .link-button {
    width: 100%;
    margin: 0;
}

@media (max-width: 560px) {
    .receive-created-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RECEIVE SUBMISSION ZIP
========================================================= */

.receive-submission-actions {
    margin: 10px 0 12px;
    display: flex;
    justify-content: flex-end;
}

.receive-submission-actions .secondary-button {
    min-height: 38px;
}

@media (max-width: 720px) {
    .receive-submission-actions .secondary-button {
        width: 100%;
    }
}
