/* Text Case Tool Styles: uses same layout as text-reverser and main site styles */
@import url('text-reverser.css');

.case-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 8px 0 8px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    padding-left: 0;
    padding-right: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.case-options label {
    background: rgba(255,255,255,0.07);
    border-radius: 999px;
    padding: 10px 18px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border 0.2s, color 0.2s;
    border: 1.5px solid rgba(255,255,255,0.12);
    user-select: none;
    white-space: nowrap;
    min-width: unset;
    text-align: center;
    margin-bottom: 2px;
    scroll-snap-align: start;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    outline: none;
    flex-shrink: 0;
    font-size: 0.97rem;
    padding: 10px 10px;
}
.case-options label:hover,
.case-options input[type="radio"]:checked + label {
    background: rgba(74,222,128,0.15);
    border-color: #4ade80;
    color: #4ade80;
}
.case-options input[type="radio"] {
    margin-right: 6px;
    accent-color: #4ade80;
    width: 1.1em;
    height: 1.1em;
}
@media (max-width: 768px) {
    .case-options {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 4px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap;
    }
    .case-options label {
        min-width: unset;
        font-size: 0.93rem;
        padding: 10px 8px;
        border-radius: 999px;
        margin-bottom: 0;
        margin-right: 2px;
        margin-left: 0;
        scroll-snap-align: start;
        flex-shrink: 0;
    }
    }
    .case-options label {
        min-width: 120px;
        font-size: 1.05rem;
        padding: 12px 12px;
        border-radius: 999px;
        margin-bottom: 0;
        margin-right: 4px;
        margin-left: 0;
        scroll-snap-align: start;
    }
    .case-options input[type="radio"] {
        width: 1.2em;
        height: 1.2em;
    }
    /* ...existing code for other mobile tweaks... */
}
