/* Case Converter Styles */
.sth-case-converter {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.sth-case-input-section {
    margin-bottom: 30px;
}

.sth-case-input-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.sth-case-input-group {
    margin-bottom: 25px;
}

.sth-case-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.sth-case-input-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.sth-case-input-field:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.sth-case-hint {
    font-size: 14px;
    color: #6c757d;
    margin-top: 6px;
    font-style: italic;
}

.sth-case-options {
    margin-top: 25px;
}

.sth-case-option-group h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.sth-case-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.sth-case-btn {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.sth-case-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.sth-case-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.sth-case-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.sth-case-action-btn {
    padding: 12px 24px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sth-case-action-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.sth-case-result {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 5px solid #28a745;
}

.sth-case-result-header h3 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 22px;
}

.sth-case-output-section {
    margin-bottom: 25px;
}

.sth-case-output-group {
    margin-bottom: 20px;
}

.sth-case-output-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.sth-case-output-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #28a745;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    background: #f8fff9;
    resize: vertical;
}

.sth-case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.sth-stat-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sth-stat-label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.sth-stat-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #28a745;
}

.sth-case-examples {
    margin-top: 30px;
}

.sth-case-examples h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
}

.sth-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sth-example-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sth-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.sth-example-icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.sth-example-content h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.sth-example-content p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

.sth-case-tips {
    margin-top: 30px;
}

.sth-case-tips h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 20px;
    text-align: center;
}

.sth-tips-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.sth-tip-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    line-height: 1.4;
}

.sth-tip-item strong {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sth-case-converter {
        padding: 20px;
    }
    
    .sth-case-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sth-case-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sth-examples-grid {
        grid-template-columns: 1fr;
    }
    
    .sth-tips-list {
        grid-template-columns: 1fr;
    }
    
    .sth-case-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .sth-case-buttons {
        grid-template-columns: 1fr;
    }
    
    .sth-case-stats {
        grid-template-columns: 1fr;
    }
} 