/* Mutual Aid Page Styles */

.aid-banner {
    padding: 16px;
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
}

.banner-inner {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.08);
}

.banner-text h2 {
    font-size: 18px;
    color: #27ae60;
    margin-bottom: 6px;
    font-weight: 700;
}

.banner-text p {
    font-size: 12px;
    color: #666;
}

.banner-illustration {
    font-size: 40px;
    color: #27ae60;
    opacity: 0.8;
}

.input-section {
    padding: 16px;
    background: #fff;
}

#aid-text {
    width: 100%;
    min-height: 100px;
    border: none;
    resize: none;
    font-size: 15px;
    color: #333;
    outline: none;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: #bbb;
    margin-top: 5px;
}

.tag-section {
    padding: 20px 16px;
    background: #fff;
    border-top: 8px solid #f9f9f9;
}

.tag-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.tag-section .label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.tag-section .label small {
    font-weight: normal;
    color: #999;
}

.tag-section .action-hint {
    font-size: 12px;
    color: #bbb;
}

.tag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tag {
    background: #f5f7f6;
    color: #666;
    padding: 10px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 13px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.tag.active {
    background: #e8f5e9;
    color: #27ae60;
    border-color: #27ae60;
    font-weight: 500;
}

.options-list {
    background: #fff;
    border-top: 8px solid #f9f9f9;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
}

.option-item .label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.item-label-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-label-group .sub-label {
    font-size: 12px;
    color: #999;
}

.item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.value-placeholder {
    font-size: 14px;
    color: #bbb;
}

.value-text {
    font-size: 14px;
    color: #333;
}

.value-text.orange {
    color: #f39c12;
    font-weight: 600;
}

.value-text.green {
    color: #27ae60;
}

.option-item .arrow {
    font-size: 12px;
    color: #ccc;
}

/* Switch styling for consistency */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #eee;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider { background-color: #27ae60; }
input:checked + .slider:before { transform: translateX(20px); }
.slider.round { border-radius: 24px; }
.slider.round:before { border-radius: 50%; }

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
}

.post-header .back-btn { font-size: 18px; color: #333; }
.post-header .header-title { font-size: 17px; font-weight: 600; }
.publish-submit-btn {
    background: #27ae60;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
}
