/*--------------------------------
            1. CSS VARIABLES & RESET
        --------------------------------*/
        :root {
            --primary-color: #4361ee;
            --primary-light: #4895ef;
            --secondary-color: #f8f9fa;
            --text-color: #212529;
            --text-light: #6c757d;
            --success-color: #2ecc71;
            --warning-color: #f39c12;
            --danger-color: #e74c3c;
            --border-color: #dee2e6;
            --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
            --radius: 8px;
            --radius-lg: 12px;
            --container-width: 1200px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .bg-white {
            background: white;
        }

        .bg-secondary {
            background: var(--secondary-color);
        }

        /*--------------------------------
            2. BASE STYLES
        --------------------------------*/
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--secondary-color);
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: 1rem;
        }

        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: var(--transition);
        }

        a:hover {
            color: var(--primary-light);
        }

        .container {
            max-width: var(--container-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        /*--------------------------------
            3. BUTTONS & FORM ELEMENTS
        --------------------------------*/
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            cursor: pointer;
            font-size: 0.95rem;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            text-align: center;
        }

        .btn i {
            margin-right: 0.5rem;
        }

        .btn-primary {
            background: var(--primary-color);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            color: white;
        }

        .btn-success {
            background: var(--success-color);
            color: white;
        }

        .btn-success:hover {
            background: var(--success-color);
            transform: translateY(-2px);
            color: white;
        }

        .btn-outline {
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
        }

        .btn-outline:hover {
            background: var(--primary-color);
            color: white;
        }

        .btn-lg {
            padding: 1rem 2rem;
            font-size: 1.1rem;
        }

        .btn-sm {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .btn-icon {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .input-group {
            margin-bottom: 1.5rem;
        }

        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 0.9rem;
        }

        .input-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid var(--border-color);
            border-radius: var(--radius);
            font-family: inherit;
            font-size: 0.95rem;
            transition: var(--transition);
        }

        .input-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
        }

        .range-slider {
            width: 100%;
            height: 6px;
            background: #e1e4e8;
            border-radius: 3px;
            -webkit-appearance: none;
        }

        .range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            background: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
        }

        /*--------------------------------
            4. LAYOUT COMPONENTS
        --------------------------------*/
        /* Navigation */
        .navbar {
            background: white;
            padding: 1rem 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }

        .logo i {
            margin-right: 0.5rem;
            font-size: 1.75rem;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-link {
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.95rem;
            padding: 0.5rem 0;
            position: relative;
        }

        .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-color);
            transition: var(--transition);
        }

        .nav-link:hover:after,
        .nav-link.active:after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
        }

        /* Hero Section */
        .hero {
            padding: 8rem 0 5rem;
            text-align: center;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
            color: var(--text-color);
        }

        .hero p {
            font-size: 1.1rem;
            color: var(--text-light);
            margin-bottom: 2.5rem;
        }

        /* Tool css */
        #tool-section {
            max-width: 1000px;
            margin: 3rem auto;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: var(--box-shadow);
            overflow: hidden;
        }

        .tool-header {
            padding: 1.5rem;
            background: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
        }

        .tool-header i {
            font-size: 1.75rem;
            margin-right: 1rem;
        }

        .tool-header h2 {
            margin: 0;
            font-size: 1.5rem;
        }

        .tool-body {
            padding: 2rem;
            position: relative;
        }

        .tool {
            margin-bottom: 2rem;
        }

        .tool:last-child {
            margin-bottom: 0;
        }

        .tool-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }

        .tool-title i {
            margin-right: 0.75rem;
            color: var(--primary-color);
        }

        .dropzone {
            border: 2px dashed var(--primary-color);
            border-radius: var(--radius);
            padding: 3rem 2rem;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            background: rgba(67, 97, 238, 0.05);
        }

        .dropzone:hover {
            background: rgba(67, 97, 238, 0.1);
        }

        .dropzone h3 {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .dropzone p {
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .settings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .preview-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 2rem;
        }

        .image-preview {
            flex: 1;
            min-width: 300px;
            background: #f8f9fa;
            border-radius: var(--radius);
            padding: 1rem;
            text-align: center;
        }

        .image-preview h4 {
            margin-bottom: 1rem;
            color: var(--text-color);
            font-size: 1rem;
        }

        .preview-img {
            max-height: 300px;
            margin-bottom: 1rem;
            border-radius: var(--radius);
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }

        .image-details {
            background: white;
            border-radius: var(--radius);
            padding: 1rem;
            text-align: left;
        }

        .image-detail {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .image-detail-label {
            color: var(--text-light);
            font-weight: 500;
        }

        .image-detail-value {
            font-weight: 500;
        }

        .preview-actions {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        /* Grid Layout Styles */
.settings-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.settings-column, 
.preview-column {
    padding: 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.preview-column .realtime-preview {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preview-column .preview-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    min-height: 300px;
}

.realtime-preview-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .settings-preview-grid {
        grid-template-columns: 1fr;
    }
}

        /* Features Section */
        .section {
            padding: 5rem 0;
        }

        .related-tools {
            padding: 5rem 0;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        .section-header p {
            color: var(--text-light);
            max-width: 700px;
            margin: 0 auto;
        }

        .section-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .card {
            border-radius: var(--radius);
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--box-shadow);
        }

        .card-icon {
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            border-radius: 50%;
            background: rgba(67, 97, 238, 0.1);
            color: var(--primary-color);
            font-size: 1.75rem;
        }

        .card h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

        .card p {
            color: var(--text-light);
            font-size: 0.95rem;
        }

        /* How To Use Section */
        .step {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            position: relative;
        }

        .step:hover {
            transform: translateY(-5px);
        }

        .step-number {
            position: absolute;
            top: -15px;
            left: -15px;
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.25rem;
        }

        .step-icon {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 1.5rem;
        }

        .step h3 {
            font-size: 1.25rem;
            margin-bottom: 1rem;
        }

        .step-feature {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
        }

        .step-feature i {
            color: var(--success-color);
            margin-right: 0.5rem;
        }

        /* FAQ Section */

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .accordion-item {
            background: var(--secondary-color);
            border-radius: var(--radius);
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .accordion-header {
            padding: 1.25rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 500;
        }

        .accordion-header i {
            transition: var(--transition);
        }

        .accordion-body {
            padding: 0 1.25rem;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .accordion-body-inner {
            padding-bottom: 1.25rem;
            color: var(--text-light);
        }

        .accordion-item.active .accordion-header {
            color: var(--primary-color);
        }

        .accordion-item.active .accordion-header i {
            transform: rotate(180deg);
        }

        .accordion-item.active .accordion-body {
            max-height: 1000px;
        }

        /* Footer */
        .footer {
            background: #323232;
            color: white;
            padding: 5rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-logo {
            color: white;
            font-family: 'Poppins', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            display: inline-block;
        }

        .footer-about p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 1.5rem;
        }

        .footer h3 {
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.75rem;
        }

        .footer h3:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--primary-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-link:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 2rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        

        /*--------------------------------
            5. UTILITY CLASSES
        --------------------------------*/
        .text-center {
            text-align: center;
        }

        .mt-1 { margin-top: 0.5rem; }
        .mt-2 { margin-top: 1rem; }
        .mt-3 { margin-top: 1.5rem; }
        .mt-4 { margin-top: 2rem; }
        .mt-5 { margin-top: 2.5rem; }

        .mb-1 { margin-bottom: 0.5rem; }
        .mb-2 { margin-bottom: 1rem; }
        .mb-3 { margin-bottom: 1.5rem; }
        .mb-4 { margin-bottom: 2rem; }
        .mb-5 { margin-bottom: 2.5rem; }

        .p-1 { padding: 0.5rem; }
        .p-2 { padding: 1rem; }
        .p-3 { padding: 1.5rem; }
        .p-4 { padding: 2rem; }
        .p-5 { padding: 2.5rem; }

        .badge {
            display: inline-block;
            padding: 0.35em 0.65em;
            font-size: 0.75em;
            font-weight: 700;
            line-height: 1;
            color: #fff;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 30px;
        }

        .badge-primary {
            background-color: var(--primary-color);
        }

        .badge-success {
            background-color: var(--success-color);
        }

        .hidden {
            display: none !important;
        }

        /*--------------------------------
            6. ADDITIONAL COMMON ELEMENTS
        --------------------------------*/
        /* Resize Nav Tabs */
        .resize-nav-tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }
        
        .nav-tab {
            background: none;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            cursor: pointer;
            position: relative;
            color: #666;
            transition: all 0.3s ease;
        }
        
        .nav-tab.active {
            color: #4a6cf7;
            font-weight: 600;
        }
        
        .nav-tab.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #4a6cf7;
        }
        
        .tab-content {
            margin-bottom: 20px;
        }
        
        .tab-pane {
            display: none;
        }
        
        .tab-pane.active {
            display: block;
        }
        
        /* Format Buttons */
        .format-buttons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .format-btn {
            padding: 8px 16px;
            border: 1px solid #ddd;
            border-radius: 4px;
            background: #f5f5f5;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .format-btn.active {
            background: #4a6cf7;
            color: white;
            border-color: #4a6cf7;
        }
        
        /* Real-time Preview */
        .realtime-preview {
            position: relative;
            margin-top: 30px;
            padding: 15px;
            border: 1px solid #eee;
            border-radius: 8px;
            background: #f9f9f9;
        }
        
        .realtime-preview h4 {
            margin-bottom: 15px;
            color: #333;
        }
        
        .realtime-preview-img {
            max-width: 100%;
            max-height: 300px;
            display: block;
            margin: 0 auto 15px;
            border-radius: 4px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .size-result {
            font-weight: 600;
            color: #4a6cf7;
            margin-top: 5px;
        }

        .upload-icon {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        /*--------------------------------
            7. RESPONSIVE DESIGN
        --------------------------------*/
        @media (max-width: 992px) {
            .blog-layout {
                grid-template-columns: 1fr;
            }
            
            .blog-sidebar {
                position: static;
            }
        }

        @media (max-width: 768px) {
            .hamburger {
                display: block;
            }

            .nav-menu {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 1rem 2rem;
                gap: 1rem;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
                clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
                transition: var(--transition);
            }

            .nav-menu.active {
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            }

            .hero h1 {
                font-size: 2rem;
            }

            .settings-grid {
                grid-template-columns: 1fr;
            }

            .preview-container {
                flex-direction: column;
            }

            .image-preview {
                min-width: 100%;
            }
        }

        @media (max-width: 576px) {
            .posts-grid {
                grid-template-columns: 1fr;
            }

            .section-grid {
                grid-template-columns: 1fr;
            }

            .tool-body {
                padding: 1.5rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }
        }

                .step h3 {
                    font-size: 1.25rem;
                    margin-bottom: 1rem;
                    color: var(--primary-color);
                }
        
                .step p {
                    color: var(--text-light);
                    line-height: 1.6;
                }
        
                .text-light {
                    color: var(--text-light);
                }
        
                /* Legal pages */
                .steps .step {
                    text-align: left;
                    padding: 2rem;
                }
        
                .steps .step h3 {
                    margin-top: 0;
                }

                                /* Base Alert Styles */
                                .alert {
                                    padding: 1rem;
                                    border-radius: var(--radius);
                                    margin: 1rem 0;
                                    text-align: center;
                                    max-width: 600px;
                                    width: 90%;
                                    margin-left: auto;
                                    margin-right: auto;
                                    display: flex;
                                    align-items: center;
                                    justify-content: center;
                                    position: relative;
                                }
                
                                /* Alert Types */
                                .alert-success {
                                    background-color: rgba(46, 204, 113, 0.15);
                                    border: 1px solid var(--success-color);
                                    color: var(--success-color);
                                }
                
                                .alert-info {
                                    background-color: rgba(52, 152, 219, 0.15);
                                    border: 1px solid var(--primary-light);
                                    color: var(--primary-light);
                                }
                
                                .alert-danger {
                                    background-color: rgba(231, 76, 60, 0.15);
                                    border: 1px solid var(--danger-color);
                                    color: var(--danger-color);
                                }
                
                                /* Alert Content */
                                .alert-content {
                                    display: flex;
                                    align-items: center;
                                    gap: 0.75rem;
                                }
                
                                /* Alert Icon */
                                .alert i {
                                    font-size: 1.25rem;
                                    margin-left: 1rem;
                                }
                
                                /* Close Button */
                                .alert-close {
                                    position: absolute;
                                    right: 1rem;
                                    top: 50%;
                                    transform: translateY(-50%);
                                    cursor: pointer;
                                    opacity: 0.7;
                                    transition: var(--transition);
                                }
                
                                .alert-close:hover {
                                    opacity: 1;
                                }

                                #toolOverlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
        .toast-container {
            position: fixed;
            top: 20px;
            right: 20px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            z-index: 9999;
        }

        .toast {
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 4px;
            padding: 16px;
            min-width: 300px;
            max-width: 450px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            border-left: 6px solid;
            overflow: hidden;
            transform: translateX(100%);
            animation: slide-in 0.3s forwards;
        }

        .toast.closing {
            animation: slide-out 0.3s forwards;
        }

        .toast-icon {
            flex-shrink: 0;
            font-size: 24px;
            margin-right: 12px;
        }

        .toast-content {
            flex-grow: 1;
        }

        .toast-title {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 4px;
        }

        .toast-message {
            font-size: 14px;
            color: #555;
        }

        .toast-close {
            background: transparent;
            border: none;
            cursor: pointer;
            font-size: 16px;
            color: #888;
            margin-left: 12px;
            transition: color 0.2s;
        }

        .toast-close:hover {
            color: #333;
        }

        .toast-progress {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 3px;
            width: 100%;
            transform: scaleX(0);
            transform-origin: left;
        }

        .toast.with-progress .toast-progress {
            animation: progress linear forwards;
        }

        /* Toast Types */
        .toast.success {
            border-left-color: #4CAF50;
        }

        .toast.success .toast-icon {
            color: #4CAF50;
        }

        .toast.success .toast-progress {
            background-color: #4CAF50;
        }

        .toast.info {
            border-left-color: #2196F3;
        }

        .toast.info .toast-icon {
            color: #2196F3;
        }

        .toast.info .toast-progress {
            background-color: #2196F3;
        }

        .toast.error {
            border-left-color: #f44336;
        }

        .toast.error .toast-icon {
            color: #f44336;
        }

        .toast.error .toast-progress {
            background-color: #f44336;
        }

        @keyframes slide-in {
            from {
                transform: translateX(100%);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slide-out {
            from {
                transform: translateX(0);
                opacity: 1;
            }
            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        @keyframes progress {
            from {
                transform: scaleX(1);
            }
            to {
                transform: scaleX(0);
            }
        }

                                                                /* Size Features Container */
                                                                .card-body {
                                                                    margin-top: 16px;
                                                                    padding: 12px 0;
                                                                    border-top: 1px solid rgba(0, 0, 0, 0.1);
                                                                }
                                
                                                                /* Individual Size Feature */
                                                                .card-content {
                                                                    display: flex;
                                                                    align-items: center;
                                                                    margin-bottom: 8px;
                                                                    font-size: 14px;
                                                                    color: #555;
                                                                    transition: color 0.3s ease;
                                                                }
                                
                                                                .card-content:last-child {
                                                                    margin-bottom: 0;
                                                                }
                                
                                                                /* Checkmark styling */
                                                                .card-content::before {
                                                                    content: "✓";
                                                                    display: inline-block;
                                                                    width: 18px;
                                                                    height: 18px;
                                                                    margin-right: 8px;
                                                                    background: linear-gradient(135deg, #4CAF50, #45a049);
                                                                    color: white;
                                                                    border-radius: 50%;
                                                                    text-align: center;
                                                                    line-height: 18px;
                                                                    font-size: 12px;
                                                                    font-weight: bold;
                                                                    flex-shrink: 0;
                                                                    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
                                                                }
                                
                                                                /* Responsive adjustments */
                                                                @media (max-width: 768px) {
                                                                    .card-body {
                                                                        margin-top: 12px;
                                                                        padding: 8px 0;
                                                                    }
                                
                                                                    .card-content {
                                                                        font-size: 13px;
                                                                        margin-bottom: 6px;
                                                                    }
                                
                                                                    .card-content::before {
                                                                        width: 16px;
                                                                        height: 16px;
                                                                        line-height: 16px;
                                                                        font-size: 11px;
                                                                        margin-right: 6px;
                                                                    }
                                                                }
                                
                                                                /* Alternative styling with icons instead of checkmarks */
                                                                .card-content.icon-style::before {
                                                                    content: "";
                                                                    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/cover;
                                                                    background-color: #4CAF50;
                                                                }
                                
                                                                /* Gradient background variant */
                                                                .gradient {
                                                                    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(69, 160, 73, 0.1));
                                                                    border-radius: 8px;
                                                                    padding: 16px 12px;
                                                                    margin-top: 16px;
                                                                    border: 1px solid rgba(76, 175, 80, 0.2);
                                                                }
                                
                                                                /* Animated entrance effect */
                                                                .card-content {
                                                                    opacity: 0;
                                                                    transform: translateY(10px);
                                                                    animation: slideInUp 0.4s ease forwards;
                                                                }
                                
                                                                /* Dynamic animation delays using CSS calc() and nth-child */
                                                                .card-content:nth-child(n) {
                                                                    animation-delay: calc(var(--card-index, 0) * 0.1s);
                                                                }
                                
                                                                @keyframes slideInUp {
                                                                    to {
                                                                        opacity: 1;
                                                                        transform: translateY(0);
                                                                    }
                                                                }
                                                                
                                                                .close-preview-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
}

.close-preview-btn:hover {
    background: rgba(0,0,0,0.8);
}