﻿        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
            color: #000;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 10px auto 20px auto;
            padding: 0 20px;
        }
             
        .exam-detail-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
            overflow: hidden;
            transition: all 0.4s ease;
        }
        
        .exam-detail-card:hover {
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
            transform: translateY(-5px);
        }
        
        .exam-header {
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            padding: 25px 30px;
            text-align: center;
        }
        
        .exam-title {
            font-size: 2.2em;
            margin-bottom: 10px;
            letter-spacing: 0.5px;
        }
        
        .exam-content {
            padding: 30px;
        }
        
        .exam-meta {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 18px;
            margin-bottom: 25px;
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 3px;
            color: #555;
        }
        .meta-span {
	    background-color: #eee;
	    border-radius: 4px;
	    padding: 0px 8px;
	    font-size: 0.9em;
	}
        .meta-item i {
            color: #3498db;
            font-size: 1.1em;
        }
        
        .preview-section {
            margin-bottom: 30px;
        }
        
        .preview-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 15px;
            color: #2c3e50;
            font-size: 1em;
        }
        
        .preview-header::before {
            content: "";
            display: inline-block;
            width: 4px;
            height: 20px;
            background: #3498db;
            border-radius: 2px;
        }
        
	.preview-header a {
	    color: #333;
	    text-decoration: none;
	}

	.preview {
	    font-weight: 600;
	    font-size: 1.2em;
	}

        .preview-content {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 20px;
	    color: #333;
            font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            text-align: justify;
            height: 650px;
            overflow-y: auto;
            box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
            white-space: normal; 
            overflow-wrap: break-word;
        }
        
        .preview-content p {
            margin: 0px;
            padding: 0px;
            line-height: 150%;
            border-bottom: 1px dashed #eee;
        }
        
        .preview-content p:last-child {
            margin-bottom: 0;
            border-bottom: none;
        }
        
        .listening-section {
            margin: 20px 0;
            background:#eee;
            padding: 5px 0;
        }
        .listening-item{
            display: flex;
            margin-left: 10px;
            gap: 10px;
        }

         .listening-link {
             color: #333;
         }      
        
        .download-section {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            text-align: center;
            padding: 20px 0;
            border-top: 1px solid #eee;
        }
        
        .download-btn-word {
            background-color: #2b579a;
            color: white;
            border: none;
            padding: 14px 12px;
            font-size: 1em;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;  
        }
        
        .download-btn-pdf {
            background-color: #b30b00;
            color: white;
            border: none;
            padding: 14px 12px;
            font-size: 1em;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;    
        }
        
        .download-btn {
            background: linear-gradient(to bottom, #3498db, #2c86b1);
            color: white;
            border: none;
            padding: 14px 40px;
            font-size: 1.1em;
            font-weight: 600;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
            letter-spacing: 0.5px;
            display: inline-block;
        }
        
        .download-btn:hover {
            background: linear-gradient(to bottom, #2c86b1, #257399);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
        }
        
        .download-btn:active {
            transform: translateY(0);
        }
        
        .footer {
            text-align: center;
            padding: 25px 0 10px 0;
            background: #2c3e50;
            color: #ecf0f1;
            margin-top: 30px;
            font-size: 0.95em;
        }
        
        .footer p {
            margin-bottom:15px;
        }
        
        .highlight {
            color: #fff;
            font-weight: 700;
        }
        .highlight a:link,
        .highlight a:visited{
            color:#fff;
        }
        
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: #4CAF50;
            color: white;
            padding: 15px 25px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            opacity: 0;
            transform: translateX(100%);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        
        .notification.show {
            opacity: 1;
            transform: translateX(0);
        }
        
        @media (max-width: 768px) {
            .exam-title {
                font-size: 1.8em;
            }
            
            .exam-content {
                padding: 25px 20px;
            }
            .preview-content {
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            }
        }