/* Unicode Data Hiding Tool Styles */

/* Hero Section Styles */
.unicode-hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.unicode-hero h1 {
    font-weight: 600;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.unicode-hero .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-features .badge {
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-features .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.breadcrumb-item a {
    text-decoration: none;
}

/* Main Container Styles */
.unicode-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Section Titles */
.section-title {
    color: #6a11cb;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(106, 17, 203, 0.1);
}

/* Tool Section */
.tool-section {
    margin-bottom: 2rem;
}

.tool-section .form-label {
    font-weight: 500;
}

/* Result Section */
.result-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.output-container {
    position: relative;
}

.output-container textarea {
    background-color: #fff;
    font-family: monospace;
    resize: none;
}

/* Emoji Select */
#emojiSelect {
    font-size: 1.2rem;
}

/* Buttons */
.btn-primary {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #5a0db0;
    border-color: #5a0db0;
}

.btn-outline-primary {
    color: #6a11cb;
    border-color: #6a11cb;
}

.btn-outline-primary:hover {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

/* Sidebar */
.sidebar .card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.sidebar .card-header {
    background-color: #6a11cb;
    color: white;
    font-weight: 500;
}

.use-cases {
    list-style: none;
    padding-left: 0;
}

.use-cases li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.use-cases li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: #6a11cb;
}

/* Related Tools */
.related-tools {
    list-style: none;
    padding-left: 0;
}

.related-tools li {
    margin-bottom: 0.5rem;
}

.related-tools a {
    color: #6a11cb;
    text-decoration: none;
}

.related-tools a:hover {
    text-decoration: underline;
}

/* Alert */
.alert-info {
    background-color: rgba(106, 17, 203, 0.1);
    border-color: rgba(106, 17, 203, 0.2);
    color: #333;
}

.alert-info h5 {
    color: #6a11cb;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar {
        margin-top: 2rem;
    }
}

/* Animation for copy button */
@keyframes copy-success {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.copy-success {
    animation: copy-success 0.3s ease-in-out;
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

/* How it works section */
.how-it-works {
    background-color: #f8f9fa;
    border-left: 4px solid #6a11cb;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Form Styles */
.unicode-form {
    margin-bottom: 2rem;
}

/* Loading Indicator */
.unicode-loading {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.unicode-loading h4 {
    color: #6a11cb;
    font-weight: 600;
}

/* Error Message */
.unicode-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: 500;
}

/* Result Section */
.result-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

/* Dark Mode Support */
[data-theme="dark"] .unicode-container {
    background-color: var(--card-bg, #2d2d2d);
    border: 1px solid var(--border-color, #404040);
    color: var(--text-primary, #e0e0e0);
}

[data-theme="dark"] .unicode-loading {
    background-color: var(--bg-secondary, #1a1a1a);
}

[data-theme="dark"] .unicode-error {
    background-color: #4a1f1f;
    color: #ff6b6b;
    border-color: #5a2f2f;
}

[data-theme="dark"] .result-section {
    background-color: var(--bg-secondary, #1a1a1a);
}
