
/* Tool Specific Styles for Email Subject Encoder & Decoder */
.section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6366f1;
    margin: 1.6rem 0 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e0e7ff;
}

.mode-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.mode-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.mode-btn.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
}

.custom-pos-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 2rem 0;
}

body.dark-mode .mode-btn {
    background: #1e2a45;
    border-color: #2e3f6e;
    color: #94a3b8;
}

body.dark-mode .mode-btn.active {
    background: #6366f1;
    color: #fff;
}

body.dark-mode .section-title {
    border-bottom-color: #2e3f6e;
    color: #818cf8;
}

body.dark-mode .divider {
    background: #2e3f6e;
}
