.future-self-section {
    margin-top: 20px;
}

.future-self-hero-disclosure {
    position: relative;
    z-index: 1;
    margin: 14px auto 0;
    width: min(860px, 100%);
}

.future-self-hero-disclosure[open] .future-self-hero-summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.future-self-hero-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 10px 14px;
    color: #ffffff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
}

.future-self-hero-summary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.future-self-hero-summary::-webkit-details-marker {
    display: none;
}

.future-self-hero-summary-main {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.future-self-hero-summary-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.future-self-hero-summary-title {
    font-size: 0.95rem;
    font-weight: 700;
}

.future-self-hero-summary-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: #ffffff;
}

.future-self-hero-summary-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.future-self-hero-summary-hint {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.future-self-hero-chevron {
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.future-self-hero-disclosure[open] .future-self-hero-chevron {
    transform: rotate(180deg);
}

.future-self-hero-panel {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 12px;
}

.future-self-card-hero {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 8px 8px 4px;
}

.future-self-card-hero .future-self-subtitle {
    margin-bottom: 10px;
}

.future-self-card {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.future-self-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.future-self-header i {
    color: #6366f1;
}

.future-self-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}

.future-self-subtitle {
    margin: 0 0 14px;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.future-self-message {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid #dbe3f6;
    padding: 12px;
    font-size: 0.94rem;
    line-height: 1.45;
    color: #1f2937;
    background: #fbfcff;
}

.future-self-message:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.future-self-controls {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.future-self-delivery {
    border: 1px solid #dbe3f6;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #ffffff;
}

.future-self-delivery:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.future-self-btn {
    border: none;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.future-self-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.24);
}

.future-self-btn:disabled {
    opacity: 0.75;
    cursor: wait;
    transform: none;
}

.future-self-custom-wrap {
    display: none;
    margin-top: 10px;
}

.future-self-custom-wrap.is-visible {
    display: block;
}

.future-self-date-input {
    width: 100%;
    border: 1px solid #dbe3f6;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #ffffff;
}

.future-self-date-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.future-self-summary {
    margin: 10px 0 0;
    color: #475569;
    font-size: 0.83rem;
    line-height: 1.4;
}

.future-self-feedback {
    min-height: 20px;
    margin: 8px 0 0;
    font-size: 0.83rem;
    font-weight: 600;
}

.future-self-feedback.info {
    color: #64748b;
}

.future-self-feedback.success {
    color: #0f766e;
}

.future-self-feedback.error {
    color: #b91c1c;
}

.past-self-reflections-section {
    display: none;
}

.past-self-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
}

.past-self-heading i {
    color: #6366f1;
}

.past-self-list {
    display: grid;
    gap: 12px;
}

.past-self-card {
    background: #ffffff;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    padding: 14px;
}

.past-self-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.12);
    border-radius: 999px;
    padding: 5px 10px;
    margin-bottom: 10px;
}

.past-self-message {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1f2937;
    white-space: pre-wrap;
}

.past-self-meta {
    margin-top: 10px;
    font-size: 0.78rem;
    color: #64748b;
}

@media (max-width: 767px) {
    .future-self-hero-summary {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .future-self-hero-summary-sub {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .future-self-hero-summary-hint {
        font-size: 0.72rem;
    }

    .future-self-controls {
        grid-template-columns: 1fr;
    }

    .future-self-btn {
        width: 100%;
    }
}
