        :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;
        }
         
        
        .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);
        }
         
        /* Gradient Test Area */
        .gradient-container {
            margin: 2rem 0;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .gradient-test {
            height: 300px;
            width: 100%;
            background: linear-gradient(to right, #000000 0%, #ffffff 100%);
            position: relative;
        }
        
        /* Test Patterns */
        .test-patterns {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin: 2rem 0;
        }
        
        .pattern-card {
            background: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: transform 0.3s;
            cursor: pointer;
        }
        
        .pattern-card:hover {
            transform: translateY(-5px);
        }
        
        .pattern-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .pattern-preview {
            height: 150px;
            border-radius: 4px;
            margin-bottom: 1rem;
            overflow: hidden;
        }
        
        .pattern-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-bottom: 0;
        }
        
        /* Test Controls */
        .test-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .control-group {
            display: flex;
            align-items: center;
            background-color: var(--light-gray);
            padding: 0.75rem 1rem;
            border-radius: 6px;
            border: 1px solid var(--border-color);
        }
        
        .control-label {
            font-weight: 600;
            margin-right: 1rem;
            color: var(--text-color);
        }
        
        /* Color Swatches */
        .color-swatches {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        
        .color-swatch {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            text-shadow: 0 2px 4px rgba(0,0,0,0.8);
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.2s;
        }
        
    
        .color-swatch.light-bg {
            color: #333;
            text-shadow: 0 1px 2px rgba(255,255,255,0.8);
        }
        
        .color-swatch:hover {
            transform: scale(1.05);
        }
        
        
        .assessment-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        
        .assessment-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
         
        
        /* Responsive Adjustments */
        @media (max-width: 768px) { 
            .test-patterns {
                grid-template-columns: 1fr;
            }
            
            .gradient-test {
                height: 200px;
            }
        }
        
        /* Test pattern specific styles */
        .checkerboard {
            background-color: #f0f0f0;
            background-image: 
                linear-gradient(45deg, #ccc 25%, transparent 25%), 
                linear-gradient(-45deg, #ccc 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #ccc 75%), 
                linear-gradient(-45deg, transparent 75%, #ccc 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
        }
        
        .stripes {
            background: repeating-linear-gradient(
                45deg,
                #000,
                #000 10px,
                #fff 10px,
                #fff 20px
            );
        }
        
        .gradient-radial {
            background: radial-gradient(circle, #000 0%, #fff 100%);
        }
        
        /* Slider styling */
        .slider-container {
            width: 100%;
            margin: 1.5rem 0;
        }
        
        .slider-value {
            background-color: var(--primary-color);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.9rem;
            margin-left: 0.5rem;
        }
        
        /* Test Instructions */
        .test-instructions {
            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;
        }
        
        /* Badges for display quality */
        .quality-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-right: 0.5rem;
        }
        
        .badge-excellent {
            background-color: rgba(40, 167, 69, 0.15);
            color: var(--success-color);
        }
        
        .badge-good {
            background-color: rgba(255, 193, 7, 0.15);
            color: var(--warning-color);
        }
        
        .badge-fair {
            background-color: rgba(253, 126, 20, 0.15);
            color: #fd7e14;
        }
        
        .badge-poor {
            background-color: rgba(220, 53, 69, 0.15);
            color: #dc3545;
        }
        
        /* Comparison table */
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        
        .comparison-table th, .comparison-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .comparison-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
 
        body.fullscreen-mode {
            overflow: hidden;
            padding: 0;
            margin: 0;
            height: 100vh;
        }
        
        .fullscreen-mode .navbar,
        .fullscreen-mode .page-header,
        .fullscreen-mode .container,
        .fullscreen-mode .col-lg-8,
        .fullscreen-mode .col-lg-4,
        .fullscreen-mode .tool-card,
        .fullscreen-mode .footer,
        .fullscreen-mode .action-,
        .fullscreen-mode .breadcrumb {
            display: none !important;
        }
        
        .fullscreen-mode #fullscreenContent {
            display: block !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: 9999;
            background: white;
            overflow: hidden;
        }
        
        .fullscreen-mode #fullscreenGradient {
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            left: 0;
        }
 
        .fullscreen-controls {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10000;
            display: flex;
            gap: 10px;
            background: rgba(0, 0, 0, 0.7);
            padding: 10px 20px;
            border-radius: 10px;
            backdrop-filter: blur(5px);
        }
        
        .fullscreen-controls button {
            background: var(--primary-color);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: 600;
        }
        
        .fullscreen-controls button:hover {
            background: var(--accent-color);
        }
 
        .fullscreen-info {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10000;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 0.9rem;
            text-align: center;
            max-width: 80%;
            backdrop-filter: blur(5px);
        }
     
        #exitFullscreenBtn {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10000;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
        }
        
        #exitFullscreenBtn:hover {
            background-color: rgba(0, 0, 0, 0.9);
            transform: scale(1.1);
        }
        
        .fullscreen-mode #exitFullscreenBtn {
            display: flex;
        }
  
        @media (max-width: 768px) {
            .fullscreen-controls {
                flex-direction: column;
                width: 90%;
                bottom: 10px;
            }
            
            .fullscreen-info {
                top: 10px;
                font-size: 0.8rem;
                width: 90%;
            }
            
            #exitFullscreenBtn {
                top: 10px;
                right: 10px;
                width: 40px;
                height: 40px;
            }
        }
        
        /* Color blindness test patterns */
        .colorblind-test {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin: 2rem 0;
        }
        
        .colorblind-pattern {
            height: 150px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: white;
            text-shadow: 0 1px 3px rgba(0,0,0,0.8);
        }
        
        /* 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);
        }
 
        .iso-pattern {
            background: 
                linear-gradient(90deg, 
                    #000 0%, #000 10%,
                    #333 10%, #333 20%,
                    #666 20%, #666 30%,
                    #999 30%, #999 40%,
                    #ccc 40%, #ccc 50%,
                    #fff 50%, #fff 100%);
        }
        
        .pixel-test {
            background-color: #000;
            background-image: 
                radial-gradient(circle at 25% 25%, #fff 1px, transparent 2px),
                radial-gradient(circle at 75% 25%, #fff 1px, transparent 2px),
                radial-gradient(circle at 25% 75%, #fff 1px, transparent 2px),
                radial-gradient(circle at 75% 75%, #fff 1px, transparent 2px);
            background-size: 100px 100px;
        }
        
        .motion-test {
            background: repeating-linear-gradient(
                90deg,
                #000,
                #000 10px,
                #fff 10px,
                #fff 20px
            );
            animation: scrollMotion 5s linear infinite;
        }
        
        @keyframes scrollMotion {
            0% { background-position: 0 0; }
            100% { background-position: 40px 0; }
        }
 
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
 
        .report-section {
            background-color: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border: 1px solid var(--border-color);
        }
        
        .report-section h4 {
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
 
        .refresh-rate-test {
            position: relative;
            width: 100%;
            height: 200px;
            background-color: #000;
            overflow: hidden;
            margin: 1rem 0;
        }
        
        .refresh-rate-indicator {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, #fff 0%, #000 100%);
            animation: refreshTest 1s steps(60) infinite;
        }
        
        @keyframes refreshTest {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
      
 