  :root {
           --primary-color: #0056a6;
            --secondary-color: #e63946;
            --accent-color: #ffb81c;
            --navy-blue: #003b73;
            --light-bg: #e8f4fd;
            --ocean-blue: #28a745;
        }
                
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            background-color: #f5f7fa;
            color: #333;
        }
        
        .terms-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header-section {
            background: linear-gradient(135deg, var(--primary-color) 0%, #ffb81c 100%);
            color: white;
            padding: 2rem;
            border-radius: 10px;
            margin-bottom: 2rem;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        .company-logo {
            background-color: white;
            color: var(--primary-color);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: bold;
            margin-right: 15px;
        }
        
        .terms-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            margin-bottom: 1.5rem;
            transition: transform 0.3s ease;
        }
        
        .terms-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .terms-card .card-header {
            background-color: var(--light-bg);
            border-bottom: 2px solid var(--border-color);
            font-weight: 600;
            padding: 1rem 1.5rem;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .terms-card .card-body {
            padding: 1.5rem;
        }
        
        .clause-number {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            text-align: center;
            line-height: 32px;
            margin-right: 10px;
            font-weight: bold;
            font-size: 0.9rem;
        }
        
        .risk-badge {
            font-size: 0.75rem;
            padding: 3px 8px;
            margin-left: 10px;
            border-radius: 4px;
        }
        
        .risk-high {
            background-color: rgba(220, 53, 69, 0.1);
            color: var(--danger-color);
            border: 1px solid rgba(220, 53, 69, 0.2);
        }
        
        .risk-medium {
            background-color: rgba(255, 193, 7, 0.1);
            color: #856404;
            border: 1px solid rgba(255, 193, 7, 0.2);
        }
        
        .risk-low {
            background-color: rgba(40, 167, 69, 0.1);
            color: #155724;
            border: 1px solid rgba(40, 167, 69, 0.2);
        }
        
        .clause-content {
            padding-left: 42px;
        }
        
        .clause-content ul {
            padding-left: 20px;
        }
        
        .clause-content li {
            margin-bottom: 8px;
        }
        
        .toggle-icon {
            transition: transform 0.3s ease;
        }
        
        .toggle-icon.rotated {
            transform: rotate(180deg);
        }
        
        .summary-box {
            background-color: #e7f1ff;
            border-left: 4px solid var(--primary-color);
            padding: 1.5rem;
            border-radius: 6px;
            margin: 2rem 0;
        }
        
        .action-buttons {
            position: sticky;
            bottom: 20px;
            background: white;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
            margin-top: 2rem;
        }
        
        .print-btn, .download-btn {
            min-width: 120px;
        }
        
        .last-updated {
            font-size: 0.85rem;
            color: var(--secondary-color);
            font-style: italic;
        }
        
        @media (max-width: 768px) {
            .terms-container {
                padding: 10px;
            }
            
            .header-section {
                padding: 1.5rem 1rem;
            }
            
            .clause-content {
                padding-left: 20px;
            }
            
            .action-buttons .btn {
                margin-bottom: 10px;
                width: 100%;
            }
        }