  :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --ico-color: #ff6b35;
            --preview-bg: #f5f5f5;
        }
        
     
        .page-header {
            background: linear-gradient(135deg, rgba(169, 214, 229, 0.4) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden; color: var(--text-color);
        } 
         
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        
        /* Tool Card Styles */
        .tool-card {
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .tool-header {
            position: relative;
            padding-bottom: 15px;
            margin-bottom: 25px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .tool-header h2 {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        /* Upload Area */
        .upload-area {
            border: 2px dashed #ddd;
            border-radius: 8px;
            padding: 3rem 1.5rem;
            text-align: center;
            background-color: #fafafa;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 1.5rem;
            position: relative;
        }
        
        .upload-area:hover, .upload-area.dragover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .upload-area i {
            font-size: 3rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .upload-area h4 {
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .upload-area p {
            color: var(--text-muted);
            margin-bottom: 1.5rem;
        }
        
        .btn-upload {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 6px;
            font-weight: 600;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .btn-upload:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
        }
        
        /* File Info */
        .file-info {
            display: flex;
            align-items: center;
            background-color: var(--light-gray);
            padding: 1rem;
            border-radius: 6px;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
        }
        
        .file-icon {
            width: 50px;
            height: 50px;
            background-color: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            border: 1px solid #ddd;
            font-size: 1.5rem;
            color: var(--primary-color);
        }
        
        .file-details {
            flex-grow: 1;
        }
        
        .file-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
            word-break: break-all;
        }
        
        .file-size {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        .remove-file {
            background: none;
            border: none;
            color: var(--danger-color);
            font-size: 1.25rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 4px;
        }
        
        .remove-file:hover {
            background-color: rgba(220, 53, 69, 0.1);
        }
        
        /* Conversion Options */
        .options-card {
            background-color: var(--light-gray);
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
        }
        
        .options-title {
            font-weight: 600;
            margin-bottom: 1.25rem;
            color: var(--primary-color);
        }
        
        .option-group {
            margin-bottom: 1.5rem;
        }
        
        .option-label {
            font-weight: 600;
            margin-bottom: 0.75rem;
            display: block;
        }
        
        .size-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        
        .size-option {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 70px;
            height: 70px;
            border: 2px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            flex-direction: column;
            background-color: white;
        }
        
        .size-option:hover {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .size-option.selected {
            border-color: var(--primary-color);
            background-color: rgba(44, 125, 160, 0.1);
            box-shadow: 0 0 0 3px rgba(44, 125, 160, 0.2);
        }
        
        .size-pixels {
            font-weight: 700;
            font-size: 1rem;
            color: var(--text-color);
        }
        
        .size-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
        }
        
        .checkbox-option {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }
        
        .checkbox-option input {
            margin-right: 0.75rem;
            width: 18px;
            height: 18px;
        }
        
        .checkbox-option label {
            cursor: pointer;
            user-select: none;
        }
        
        /* Preview Area */
        .preview-area {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .preview-title {
            font-weight: 600;
            margin-bottom: 1.25rem;
            color: var(--primary-color);
        }
        
        .preview-container {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            justify-content: center;
        }
        
        .preview-box {
            background-color: var(--preview-bg);
            border-radius: 6px;
            padding: 1rem;
            text-align: center;
            min-width: 150px;
            border: 1px solid #eee;
        }
        
        .preview-size {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-color);
        }
        
        .preview-image {
            width: 64px;
            height: 64px;
            margin: 0 auto 0.5rem;
            background-color: white;
            border: 1px solid #ddd;
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .preview-image.small {
            width: 32px;
            height: 32px;
        }
        
        .preview-image.large {
            width: 128px;
            height: 128px;
        }
        
        .preview-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        /* Conversion Controls */
        .conversion-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-top: 2rem;
        }
        
        .btn-convert {
            background-color: var(--ico-color);
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 6px;
            font-weight: 600;
            transition: all 0.3s;
            cursor: pointer;
            flex-grow: 1;
        }
        
        .btn-convert:hover:not(:disabled) {
            background-color: #e55a2b;
            transform: translateY(-2px);
        }
        
        .btn-convert:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .btn-download {
            background-color: var(--success-color);
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 6px;
            font-weight: 600;
            transition: all 0.3s;
            cursor: pointer;
            flex-grow: 1;
        }
        
        .btn-download:hover {
            background-color: #218838;
            transform: translateY(-2px);
        }
        
        /* Result Area */
        .result-container {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            position: relative;
            border: 1px solid var(--border-color);
        }
        
        .result-title {
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--primary-color);
        }
        
        .result-info {
            display: flex;
            align-items: center;
            background-color: white;
            border-radius: 4px;
            padding: 1rem;
            border: 1px solid #eee;
            margin-bottom: 1rem;
        }
        
        .result-icon {
            width: 60px;
            height: 60px;
            background-color: var(--light-gray);
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            border: 1px solid #ddd;
            font-size: 1.5rem;
            color: var(--ico-color);
        }
        
        .result-details {
            flex-grow: 1;
        }
        
        .result-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .result-meta {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        
        /* Progress Bar */
        .progress-container {
            margin: 1.5rem 0;
        }
        
        .progress {
            height: 10px;
            border-radius: 5px;
            overflow: hidden;
            background-color: #e9ecef;
        }
        
        .progress-bar {
            height: 100%;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .progress-text {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        /* Content Sections */
        .section-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .usage-step {
            display: flex;
            margin-bottom: 1.5rem;
            align-items: flex-start;
        }
        
        .step-number {
            width: 28px;
            height: 28px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            flex-shrink: 0;
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .info-box {
            background-color: rgba(44, 125, 160, 0.05);
            border-left: 3px solid var(--primary-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        
        .ico-box {
            background-color: rgba(255, 107, 53, 0.05);
            border-left: 3px solid var(--ico-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        
        /* Related Tools */
        .related-tools {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color); 
            margin-bottom: 1.5rem;
        }
        
        .related-title {
            font-weight: 600;
            margin-bottom: 1.25rem;
            padding-bottom: 0.75rem; 
            color: var(--primary-color);
        }
        
        .related-tool {
            display: flex;
            align-items: center;
            padding: 0.75rem 0;
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.3s;
        }
        
        .related-tool:hover {
            background-color: var(--light-gray);
        }
        
        .related-tool:last-child {
            border-bottom: none;
        }
        
        .related-icon {
            width: 36px;
            height: 36px;
            border-radius: 6px;
            background-color: rgba(44, 125, 160, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: var(--primary-color);
        }
        
        /* Footer */
        .footer {
            background-color: var(--light-gray); 
            margin-top: 3rem;
            border-top: 1px solid var(--border-color);
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .tool-card {
                padding: 1.5rem;
            }
            
            .size-options {
                justify-content: center;
            }
            
            .conversion-controls {
                flex-direction: column;
            }
        }
        
        /* Toast notifications */
        .toast-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1050;
        }
        
        /* Action buttons */
        .action-btn {
            background-color: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 0.5rem 1rem;
            margin-left: 0.5rem;
            transition: all 0.3s;
            color: var(--text-color);
        }
        
        .action-btn:hover {
            background-color: var(--light-gray);
            color: var(--primary-color);
        }
        
        /* Format badges */
        .format-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            background-color: rgba(44, 125, 160, 0.1);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
        
        /* Ad Container */
        .ad-container {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1rem;
            text-align: center;
            border: 1px dashed #ccc;
            margin-bottom: 1.5rem;
        }
        
        .ad-label {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }
        
        .ad-placeholder {
            padding: 2rem;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #ddd;
            color: var(--text-muted);
        }
        
        /* FAQ Accordion */
        .accordion-button:not(.collapsed) {
            background-color: rgba(44, 125, 160, 0.1);
            color: var(--primary-color);
        }
        
        /* File Formats */
        .formats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .format-item {
            background-color: white;
            border-radius: 6px;
            padding: 1rem;
            text-align: center;
            border: 1px solid var(--border-color);
            transition: all 0.3s;
        }
        
        .format-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-color: var(--primary-color);
        }
        
        .format-icon {
            font-size: 2rem;
            color: var(--primary-color);
            margin-bottom: 0.75rem;
        }
        
        .format-name {
            font-weight: 600;
            margin-bottom: 0.25rem;
        }
        
        .format-ext {
            font-size: 0.9rem;
            color: var(--text-muted);
        }