/* Text to Emoji Converter - Tool-specific styles */

/* Toggle switches */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toggle-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.toggle-option:hover {
    border-color: #4b5563;
}

.toggle-option input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
    background: #374151;
    border-radius: 12px;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: transform 0.15s ease;
}

.toggle-option input[type="checkbox"]:checked + .toggle-switch {
    background: #3b82f6;
}

.toggle-option input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 15px;
    font-weight: 500;
    color: #e5e7eb;
}

.toggle-description {
    font-size: 13px;
    color: #6b7280;
    margin-left: auto;
}

/* Output actions container */
.output-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Emoji count badge */
.emoji-count {
    font-size: 13px;
    color: #9ca3af;
}

.emoji-count:not(:empty)::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    margin-right: 6px;
}

/* Output text with emoji styling */
.output-text-area {
    font-size: 18px;
    line-height: 1.8;
    word-wrap: break-word;
}

.emoji-word {
    display: inline;
}

.emoji-original {
    color: #6b7280;
    font-size: 13px;
    margin-left: 2px;
}

.emoji-only {
    font-size: 20px;
}

/* Hide original words class */
.hide-original .emoji-original {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .toggle-description {
        display: none;
    }
    
    .toggle-option {
        padding: 10px 14px;
    }
    
    .output-actions {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }
}
