.innerTestAlt {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            display: grid;
            grid-template-columns: 400px 1fr;
            gap: 30px;
            min-height: 100vh;
        }
        .testalt{
            background-image: linear-gradient(to bottom right, #eef2ff, #fff, #ecfeff);
            }
            
        div#url-tab {
            display: block;
        }
        
        /* Left Panel Styles */
        .analysis-panel {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 24px;
            height: fit-content;
        }

        .panel-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .panel-icon {
            width: 24px;
            height: 24px;
            /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
            border-radius: 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 14px;
        }

        .panel-title {
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 0;
            text-transform: capitalize;
        }

        .panel-subtitle {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 24px;
        }

        .input-tabs {
            display: flex;
            background: #f3f4f6;
            border-radius: 8px;
            padding: 4px;
            margin-bottom: 16px;
        }

        .input-tab {
            flex: 1;
            background: transparent;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .input-tab.active {
            background: white;
            color: #374151;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .input-tab:not(.active) {
            color: #6b7280;
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
            margin-bottom: 8px;
        }

        .input-field {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.2s;
            background: white;
        }

        .input-field:focus {
            outline: none;
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .upload-area {
            border: 2px dashed #d1d5db;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
          
        }

        .upload-area.active {
            display: block;
        }

        .upload-area:hover {
            border-color: #6366f1;
            background-color: #f8faff;
        }

        .upload-icon {
            width: 48px;
            height: 48px;
            background: #f3f4f6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px;
            color: #6b7280;
        }

        .generate-btn {
            width: 100%;
            /*background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);*/
            background-image: linear-gradient(40deg, rgb(51 156 254), rgb(11 18 34));
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .generate-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
        }

        .generate-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .features-section {
            margin-top: 32px;
        }

        .features-title {
            font-size: 16px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 16px;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 0;
            color: #374151;
            font-size: 14px;
        }

        .feature-icon {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            /*background: #10b981;*/
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        /* Right Panel Styles */
        .results-panel {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            height: 385px;
            border: 1px solid #f3f4f6;
            border-radius: 10px;
            background: #fff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .empty-state {
            text-align: center;
            color: #6b7280;
        }

        .empty-icon {
            width: 80px;
            height: 80px;
            background: #f3f4f6;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            color: #9ca3af;
            font-size: 32px;
        }

        .single-post p.empty-title {
            font-size: 18px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 12px;
            text-align: center !important;
        }

        .single-post p.empty-subtitle {
            font-size: 16px;
            max-width: 400px;
            line-height: 1.5;
            text-align: center !important;
        }

        .results-content {
            display: none;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 24px;
        }

        .results-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            /*margin-bottom: 24px;*/
        }

        .results-title {
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
        }

        .results-count {
            color: #6b7280;
            font-size: 14px;
        }

        .results-stats {
            display: flex;
            gap: 12px;
        }

        .stat-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }

        .stat-missing {
            background: #fef3c7;
            color: #d97706;
        }

        .stat-improved {
            background: #d1fae5;
            color: #059669;
        }

        .image-result {
            display: flex;
            gap: 20px;
            margin-bottom: 32px;
            padding: 20px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
        }

        .result-image {
            width: 120px;
            height: 80px;
            border-radius: 8px;
            background: #97b6f4;
            object-fit: contain;
            flex-shrink: 0;
        }

        .result-details {
            flex: 1;
        }

        .result-status {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .status-icon {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: white;
        }

        .status-missing {
            background: #ef4444;
        }

        .status-has {
            background: #10b981;
        }

        .status-text {
            font-size: 14px;
            font-weight: 600;
            color: #dc2626;
        }

        .status-has .status-text {
            color: #059669;
        }

        .alt-section {
            margin-bottom: 16px;
        }

        .alt-label {
            font-size: 14px;
            font-weight: 600;
            color: #374151;
            margin-bottom: 8px;
        }

        .alt-content {
            background: #f9fafb;
            border: 1px solid #e5e7eb;
            border-radius: 6px;
            padding: 12px;
            font-size: 14px;
            color: #374151;
            line-height: 1.4;
        }

        .current-alt {
            background: #eff6ff;
            border-color: #bfdbfe;
            color: #1e40af;
        }

        .copy-btn {
            background: #f3f4f6;
            border: 1px solid #d1d5db;
            color: #374151;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.2s;
            margin-top: 8px;
        }

        .copy-btn:hover {
            background: #e5e7eb;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }
        button.input-tab img {
            width: 16px;
            height: 16px;
            object-fit: contain;
        }
        
        .empty-icon img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
        .result-meta {
            word-break: break-all;
        }
        div#results-content {
            height: 385px;
            overflow: auto;
        }
        button.single-generate {
            background-image: linear-gradient(40deg, rgb(51 254 98), rgb(13 34 11));
            color: #fff;
            padding: 5px 20px;
            border-radius: 5px;
            border: none;
            font-size: 16px;
            max-width: 130px;
        }
        .result-desc {
            font-weight: 700;
        }
        .result-item {
            margin-bottom: 10px;
            padding: 20px;
            background: #eef5ff;
            border-radius: 10px;
        }
        
        .result-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
#generate-all-btn {
    max-width: 300px;
    background-image: linear-gradient(40deg, rgb(51 156 254), rgb(11 18 34));
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

div#upload-tab {
    margin-bottom: 20px;
}
div#upload-area p {
    text-align: center !important;
}
.loader-container {
  text-align: center;
  padding: 20px;
}

.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 36px;
  height: 36px;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}