/* Text Case Converter Styles */
.case-converter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.breadcrumbs a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumbs .current {
    color: #333;
    font-weight: 600;
}

.converter-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid #e1e5e9;
}

.input-section,
.output-section {
    margin-bottom: 25px;
}

.section-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 1.1em;
}

.text-input,
.text-output {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.text-input:focus {
    outline: none;
    border-color: #007cba;
}

.text-output {
    background-color: #f8f9fa;
    color: #666;
}

.controls-section {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e1e5e9;
    border-bottom: 1px solid #e1e5e9;
}

.controls-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.case-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.case-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.case-btn:hover {
    border-color: #007cba;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-btn.active {
    border-color: #007cba;
    background-color: #e7f1ff;
}

.btn-icon {
    font-size: 1.5em;
    margin-bottom: 8px;
}

.btn-text {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9em;
}

.btn-desc {
    font-size: 0.85em;
    color: #666;
    opacity: 0.8;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 10px;
}

.text-stats {
    display: flex;
    gap: 15px;
    font-size: 0.85em;
    color: #666;
}

.output-actions {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.copy-btn,
.clear-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 14px;
}

.copy-btn {
    background: #007cba;
    color: white;
}

.copy-btn:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.clear-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e1e5e9;
}

.clear-btn:hover {
    background: #e9ecef;
}

.utility-controls {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.control-help {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
}

/* Features list */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.security-badge {
    background: #f0f7ff;
    border: 1px solid #007cba;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    text-align: center;
}

/* Terminal styles */
.terminal {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.terminal .command {
    color: #4af626;
    margin-bottom: 4px;
}

.terminal .comment {
    color: #888;
    margin-bottom: 12px;
    font-style: italic;
}

/* Content sections */
.content-section {
    margin: 40px 0;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.list-bullet {
    margin: 0 10px;
    color: #007cba;
}

.info-tip {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}

/* Checkbox styles */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #007cba;
    border-color: #007cba;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .case-converter-container {
        padding: 15px;
    }
    
    .converter-card {
        padding: 20px;
    }
    
    .case-buttons-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .text-stats {
        font-size: 0.8em;
        gap: 10px;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .output-actions {
        flex-direction: column;
    }
    
    .copy-btn,
    .clear-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for copy feedback */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    80% {
        transform: translateY(-2px);
    }
}

.copy-feedback {
    animation: bounce 0.6s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .case-btn,
    .copy-btn,
    .clear-btn {
        transition: none;
    }
    
    .copy-feedback {
        animation: none;
    }
}