/* Utility Classes to Replace Inline Styles */

/* Display utilities */
.d-inline { display: inline !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }

/* Width utilities */
.w-120px { width: 120px !important; }
.w-150px { width: 150px !important; }
.w-200px { width: 200px !important; }

/* Height utilities */
.h-4px { height: 4px !important; }
.h-6px { height: 6px !important; }
.h-8px { height: 8px !important; }
.h-200px { height: 200px !important; }
.h-300px { height: 300px !important; }

/* Max width utilities */
.max-w-150px { max-width: 150px !important; }
.max-w-200px { max-width: 200px !important; }

/* Max height utilities */
.max-h-200px { max-height: 200px !important; }
.max-h-300px { max-height: 300px !important; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* Object fit utilities */
.object-fit-cover { object-fit: cover !important; }

/* Position utilities */
.position-relative { position: relative !important; }

/* Background utilities */
.bg-primary { background: var(--bs-primary) !important; }
.bg-success { background: var(--bs-success) !important; }
.bg-info { background: var(--bs-info) !important; }

/* Font size utilities */
.fs-3rem { font-size: 3rem !important; }

/* Animation delay utilities */
.animation-delay-0 { animation-delay: 0s !important; }
.animation-delay-1 { animation-delay: 0.1s !important; }
.animation-delay-2 { animation-delay: 0.2s !important; }
.animation-delay-3 { animation-delay: 0.3s !important; }
.animation-delay-4 { animation-delay: 0.4s !important; }
.animation-delay-5 { animation-delay: 0.5s !important; }
.animation-delay-6 { animation-delay: 0.6s !important; }
.animation-delay-7 { animation-delay: 0.7s !important; }
.animation-delay-8 { animation-delay: 0.8s !important; }
.animation-delay-9 { animation-delay: 0.9s !important; }
.animation-delay-10 { animation-delay: 1s !important; }
.animation-delay-11 { animation-delay: 1.1s !important; }
.animation-delay-12 { animation-delay: 1.2s !important; }
.animation-delay-13 { animation-delay: 1.3s !important; }
.animation-delay-14 { animation-delay: 1.4s !important; }
.animation-delay-15 { animation-delay: 1.5s !important; }

/* Fade-in animation */
.fade-in {
    /*animation: fadeIn 0.6s ease-in-out forwards;
    opacity: 0;*/
}

@keyframes fadeIn {
 /*   from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }*/
}

/* Background image utilities */
.bg-image-channel {
    background-image: var(--channel-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Chart container utilities */
.chart-container {
    position: relative;
    height: 300px;
}

/* Progress bar width utilities */
.progress-width-0 { width: 0% !important; }
.progress-width-10 { width: 10% !important; }
.progress-width-20 { width: 20% !important; }
.progress-width-30 { width: 30% !important; }
.progress-width-40 { width: 40% !important; }
.progress-width-50 { width: 50% !important; }
.progress-width-60 { width: 60% !important; }
.progress-width-70 { width: 70% !important; }
.progress-width-80 { width: 80% !important; }
.progress-width-90 { width: 90% !important; }
.progress-width-100 { width: 100% !important; }

/* Channel-specific styles */
.channel-banner {
    border-radius: 1rem;
    overflow: hidden;
}

.banner-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    height: 100%;
    padding: 2rem 0;
}

.content-nav .nav-pills .nav-link {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.content-nav .nav-pills .nav-link:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}

.content-nav .nav-pills .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
}

.btn {
    border-radius: 0.5rem;
}

/* Form-specific styles */
.form-label {
    font-weight: 600;
}

.card-title {
    color: #495057;
}

.border-bottom {
    border-bottom-color: #dee2e6 !important;
}

.btn-group .btn {
    border-radius: 0.375rem;
}

.btn-group .btn:not(:last-child) {
    margin-right: 0.5rem;
}

/* Date Picker Enhancements */
input[type="datetime-local"] {
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input[type="datetime-local"]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.datetime-helper {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Channel card hover effects */
.channel-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.channel-card .card-img-top img {
    transition: transform 0.3s;
}

.channel-card:hover .card-img-top img {
    transform: scale(1.05);
}

/* Video-specific styles */
.video-player iframe {
    border-radius: 0.5rem;
}

.channel-info {
    transition: all 0.3s ease;
}

.channel-info:hover {
    background-color: #f8f9fa !important;
}

.comment {
    transition: all 0.3s ease;
}

.comment:hover {
    background-color: #f8f9fa;
}

.related-video-item {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.related-video-item:hover {
    background-color: #f8f9fa;
}

.content-text {
    line-height: 1.6;
}

.content-text p {
    margin-bottom: 1rem;
}

.content-text h1, .content-text h2, .content-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* About page specific styles */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #667eea 100%);
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.avatar-placeholder {
    border: 3px solid var(--bs-border-color);
}

.btn-lg {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
}

/* Post-specific styles */
.post-article {
    line-height: 1.7;
}

.post-body {
    font-size: 1.1rem;
}

.post-body h1, .post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.25rem;
}

.post-body ul, .post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.related-post-item {
    transition: all 0.3s ease;
}

.related-post-item:hover {
    background-color: #f8f9fa;
}

.image-item img {
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.02);
}

#toc-list a {
    color: #6c757d;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
    transition: all 0.3s ease;
}

#toc-list a:hover, #toc-list a.active {
    color: #007bff;
    border-left-color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

/* Contact page specific styles */
.form-control, .form-select {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Registration page specific styles */
.card {
    border-radius: 15px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
}

.form-floating > .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.progress {
    border-radius: 10px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.password-strength .progress-bar.weak { background-color: #dc3545; }
.password-strength .progress-bar.fair { background-color: #ffc107; }
.password-strength .progress-bar.good { background-color: #17a2b8; }
.password-strength .progress-bar.strong { background-color: #28a745; }

/* Timeline styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.timeline-content h6 {
    margin-bottom: 5px;
    font-size: 0.875rem;
}

/* Post card and preview styles */
.post-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-card .card-img-top img {
    transition: transform 0.3s;
}

.post-card:hover .card-img-top img {
    transform: scale(1.05);
}

.badge {
    font-size: 0.7rem;
}

.badge.bg-light {
    border: 1px solid #dee2e6;
}

#previewContent {
    max-height: 400px;
    overflow-y: auto;
}

#previewContent h1, #previewContent h2, #previewContent h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

#previewContent p {
    margin-bottom: 1rem;
}

/* Form and preview styles */
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

#livePreview {
    max-height: 300px;
    overflow-y: auto;
}

#previewTitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#previewContent {
    line-height: 1.5;
}

#fullPreviewContent {
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.6;
}

#fullPreviewContent h1, #fullPreviewContent h2, #fullPreviewContent h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

#fullPreviewContent p {
    margin-bottom: 1rem;
}

/* Video card styles */
.video-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.video-card .card-img-top img {
    transition: transform 0.3s;
}

.video-card:hover .card-img-top img {
    transform: scale(1.05);
}

.play-button {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-card:hover .play-button {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.play-button i {
    font-size: 1.2rem;
    margin-left: 3px; /* Center the play icon */
}

/* Email template form styles */
#template_body {
    resize: vertical;
    min-height: 400px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.card-header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

/* Email preview styles */
.email-preview-container {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.email-header {
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-radius: 0.375rem 0.375rem 0 0;
}

.email-subject {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.email-meta {
    font-size: 0.875rem;
    color: #666;
}

.email-content {
    padding: 1rem;
    min-height: 400px;
    background: white;
    border-radius: 0 0 0.375rem 0.375rem;
}

/* Email template styles */
.email-content {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

.email-content .container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.email-content .header {
    background: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
}

.email-content .content {
    padding: 20px;
    background: #f8f9fa;
}

.email-content .button {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.email-content .footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

.email-content .code {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
    background: #e9ecef;
    border-radius: 5px;
    margin: 20px 0;
}

/* Additional email template styles for better rendering */
.email-content h1, .email-content h2, .email-content h3, .email-content h4, .email-content h5, .email-content h6 {
    color: #333;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.email-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.email-content a {
    color: #007bff;
    text-decoration: none;
}

.email-content a:hover {
    text-decoration: underline;
}

.email-content ul, .email-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.email-content li {
    margin-bottom: 0.25rem;
}

.email-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #666;
}

.email-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.email-content th, .email-content td {
    border: 1px solid #dee2e6;
    padding: 0.5rem;
    text-align: left;
}

.email-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Padding utilities for TOC */
.toc-padding-0 { padding-left: 0rem !important; }
.toc-padding-1 { padding-left: 0.5rem !important; }
.toc-padding-2 { padding-left: 1rem !important; }
.toc-padding-3 { padding-left: 1.5rem !important; }
.toc-padding-4 { padding-left: 2rem !important; }
.toc-padding-5 { padding-left: 2.5rem !important; }
.toc-padding-6 { padding-left: 3rem !important; }

/* Responsive utilities */
@media (max-width: 768px) {
    .max-w-200px-sm { max-width: 150px !important; }
    .max-w-150px-sm { max-width: 100px !important; }
}

/* ========================================
   CONSISTENT COMPONENT SYSTEM
   ======================================== */

/* Card Components */
.card-hover {
    transition: 0.3s ease;
    border: 1px solid var(--bs-border-color);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.card-hover.border-primary {
    box-shadow: 0 0 0 1px var(--bs-primary);
}

/* Button Components */
.btn-loading {
    position: relative;
}

.btn-loading .spinner {
    margin-right: 0.5rem;
}

.btn-hover {
    transition: 0.3s ease;
}

.btn-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Form Components */
.form-control-focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control-consistent {
    border-radius: 0.375rem;
    border: 1px solid var(--bs-border-color);
    transition: 0.3s ease;
}

.form-control-consistent:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Table Components */
.table-hover-consistent tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
    transition: 0.3s ease;
}

/* Modal Components */
.modal-consistent {
    border-radius: 0.5rem;
}

.modal-consistent .modal-header {
    border-bottom: 1px solid var(--bs-border-color);
}

.modal-consistent .modal-footer {
    border-top: 1px solid var(--bs-border-color);
}

/* Icon Components */
.icon-consistent {
    font-size: 1rem;
    line-height: 1;
}

.icon-sm { font-size: 0.875rem; }
.icon-md { font-size: 1rem; }
.icon-lg { font-size: 1.25rem; }
.icon-xl { font-size: 1.5rem; }

/* Loading States */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Consistent Transitions */
.transition-fast { transition: 0.15s ease; }
.transition-normal { transition: 0.3s ease; }
.transition-slow { transition: 0.5s ease; }

/* Consistent Shadows */
.shadow-consistent { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); }
.shadow-consistent-md { box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.shadow-consistent-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175); }

/* Consistent Borders */
.border-consistent { border-radius: 0.375rem; }
.border-consistent-lg { border-radius: 0.5rem; }
.border-consistent-xl { border-radius: 0.75rem; }

/* Consistent Spacing */
.spacing-consistent-xs { margin: 0.25rem; }
.spacing-consistent-sm { margin: 0.5rem; }
.spacing-consistent-md { margin: 1rem; }
.spacing-consistent-lg { margin: 1.5rem; }
.spacing-consistent-xl { margin: 3rem; }

/* Membership Specific Components */
.membership-card {
    transition: 0.3s ease;
    border: 1px solid var(--bs-border-color);
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.membership-card.border-primary {
    box-shadow: 0 0 0 1px var(--bs-primary);
}

.pricing-consistent {
    line-height: 1;
}

.btn-check:checked + .btn-outline-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

/* Stripe Elements Consistency */
#card-element {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 0.75rem;
    transition: 0.3s ease;
}

#card-element:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Channel Components */
.channel-card {
    transition: 0.3s ease;
    border: none;
    overflow: hidden;
}

.channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.channel-overlay {
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: 0.3s ease;
}

.channel-card:hover .channel-overlay {
    opacity: 1;
}

.hero-section {
    background-attachment: fixed;
}

.card-img-top {
    transition: 0.3s ease;
}

.channel-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Pagination Consistency */
.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    border: 1px solid var(--bs-border-color);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* ========================================
   INLINE STYLE REPLACEMENTS
   ======================================== */

/* Progress Bar Heights */
.progress-h-4px { height: 4px !important; }
.progress-h-6px { height: 6px !important; }
.progress-h-8px { height: 8px !important; }

/* Icon Containers */
.icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    border-radius: 0.5rem;
}

.icon-container-primary {
    background: var(--bs-primary);
}

.icon-container-success {
    background: var(--bs-success);
}

.icon-container-info {
    background: var(--bs-info);
}

/* Card Image Containers */
.card-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Form Display Controls */
.form-inline {
    display: inline !important;
}

/* Password Strength Components */
.password-strength {
    margin-top: 0.5rem;
}

.password-match {
    margin-top: 0.5rem;
}

/* Code Blocks */
.code-block {
    background-color: var(--bs-light);
    padding: 1rem;
    border-radius: 0.375rem;
    max-height: 300px;
    overflow-y: auto;
}

.code-block-small {
    max-height: 200px;
}

/* Text Truncation */
.text-truncate-150 {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

.text-truncate-200 {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}

/* Display Controls */
.d-none-js {
    display: none;
}

.d-block-js {
    display: block;
}

.d-inline-js {
    display: inline;
}

/* TOC Components */
.toc-container {
    display: none;
}

.toc-item {
    padding-left: 0.5rem;
}

.toc-item-h2 {
    padding-left: 0.5rem;
}

.toc-item-h3 {
    padding-left: 1rem;
}

.toc-item-h4 {
    padding-left: 1.5rem;
}

.toc-item-h5 {
    padding-left: 2rem;
}

.toc-item-h6 {
    padding-left: 2.5rem;
}

/* Status Indicators */
.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-active {
    background-color: var(--bs-success);
}

.status-inactive {
    background-color: var(--bs-secondary);
}

.status-pending {
    background-color: var(--bs-warning);
}

/* Responsive Image Classes */
.img-cover-200 {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.img-cover-300 {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

/* Card Transition Classes */
.card-transition-enabled {
    transition: all 0.3s ease;
}

.card-transition-enabled:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Form Field Groups */
.form-field-group {
    margin-bottom: 1rem;
}

.form-field-group.hidden {
    display: none;
}

/* Alert Components */
.alert-dismissible {
    position: relative;
}

.alert-close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.75rem 1.25rem;
    color: inherit;
    background: none;
    border: 0;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.5;
    cursor: pointer;
}

.alert-close:hover {
    opacity: 0.75;
}

/* Modal Components */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Badge Components */
.badge-pill {
    border-radius: 50rem;
    padding: 0.375rem 0.75rem;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid currentColor;
}

/* Tooltip Components */
.tooltip-custom {
    position: relative;
    cursor: help;
}

.tooltip-custom::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-dark);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip-custom:hover::after {
    opacity: 1;
}

/* Dark Mode Support */
[data-theme="dark"] .code-block {
    background-color: var(--bs-dark);
    color: var(--bs-light);
}

[data-theme="dark"] .icon-container {
    color: var(--bs-light);
}

[data-theme="dark"] .text-truncate-150,
[data-theme="dark"] .text-truncate-200 {
    color: var(--bs-light);
}
