:root {
    --green: #2e7d32;
    --green-dark: #1b5e20;
    --green-soft: #eaf5ec;
    --bg: #f4f8f5;
    --card: #ffffff;
    --text: #1f2d24;
    --muted: #6b7c70;
    --border: #dce8df;
    --danger: #d32f2f;
    --shadow: 0 14px 34px rgba(30, 70, 40, 0.10);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(46, 125, 50, 0.12), transparent 30%),
        linear-gradient(180deg, #f7fbf8, #edf7ef);
    color: var(--text);
}

.share-page {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 34px 18px 50px;
}

.share-header {
    text-align: center;
    margin-bottom: 24px;
}

.share-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.share-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.share-header p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

.share-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.share-section {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid #e0ebe3;
    background: #ffffff;
    margin-bottom: 18px;
}

.section-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.section-number {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: linear-gradient(180deg, #4f9b62, #2e7d32);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(46, 125, 50, 0.22);
}

.section-head h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 900;
}

.section-head p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-grid.three {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 14px;
}

.form-item label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 900;
    color: #26362b;
}

input,
select {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 13px;
    background: #ffffff;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.choice-block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.choice-title {
    width: 70px;
    font-weight: 900;
    color: #223328;
}

.choice-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f8fcf8;
    border: 1px solid #dfe9e2;
    font-weight: 900;
    cursor: pointer;
}

.choice-card input {
    width: auto;
    height: auto;
    accent-color: var(--green);
}

.platform-section {
    background: #fbfdfb;
}

.activity-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: #f7fbf8;
    border: 1px solid #dfe9e2;
}

.activity-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.activity-title span {
    font-size: 17px;
    font-weight: 900;
}

.activity-title strong {
    color: var(--green-dark);
    font-weight: 900;
}

.detail-row-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.detail-row {
    display: grid;
    grid-template-columns: 1.1fr 2fr 1fr auto;
    gap: 8px;
    align-items: center;
}

.sub-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid #d8e4dc;
    background: #ffffff;
    color: #223328;
    font-weight: 900;
    cursor: pointer;
}

.sub-btn:hover {
    background: #eef7f0;
}

.delete-btn {
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid #f3c3c3;
    background: #fdecec;
    color: #b42323;
    font-weight: 900;
    cursor: pointer;
}

.submit-area {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}

.submit-btn {
    width: 100%;
    max-width: 320px;
    height: 52px;
    border: none;
    border-radius: 16px;
    background: var(--green);
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.22);
}

.submit-btn:hover {
    background: var(--green-dark);
}

.done-card {
    text-align: center;
    padding: 46px 24px;
}

.done-icon {
    font-size: 46px;
    margin-bottom: 12px;
}

.done-card h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
}

.done-card p {
    margin: 12px 0 24px;
    color: var(--muted);
    font-weight: 700;
}

.done-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    background: var(--green);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.choice-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #eeeeee;
}

.choice-card.disabled span {
    color: #999;
}

.topic-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.notice-box {
    background: #f4fbf5;
    border: 1px solid #d5ead9;
    color: #24492c;
    border-radius: 14px;
    padding: 14px 16px;
    margin: 14px 0 16px;
    font-size: 14px;
    font-weight: 800;
}

.topic-list-cell {
    text-align: left !important;
    white-space: normal !important;
}

.topic-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    margin: 3px;
    border-radius: 999px;
    background: #eef7f0;
    border: 1px solid #d3e8d7;
    color: #1f5f2d;
    font-size: 13px;
    font-weight: 900;
}

.topic-input-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.topic-input-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.topic-input-row input {
    width: 100%;
}

.daily-label-box {
    height: 46px;
    border: 1px solid #dce8df;
    border-radius: 14px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 15px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
}



/*-- 반응형 --*/

@media (max-width: 760px) {
    .share-page {
        padding: 24px 12px 40px;
    }

    .share-card {
        padding: 16px;
        border-radius: 22px;
    }

    .share-section {
        padding: 18px;
    }

    .form-grid,
    .form-grid.three,
    .detail-row {
        grid-template-columns: 1fr;
    }

    .choice-title {
        width: 100%;
    }

    .activity-title {
        align-items: flex-start;
        flex-direction: column;
    }
}


