/* Modal Container */
.hwid-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

/* Modal Content */
.hwid-modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: relative;
    animation: hwid-animatetop 0.4s;
}

@keyframes hwid-animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* Close Button */
.hwid-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.hwid-close:hover,
.hwid-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Typography & Layout */
.hwid-modal-content h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.hwid-report-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.hwid-section {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

.hwid-section-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0073aa;
    font-size: 1.2em;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.hwid-subsection {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
}

.hwid-subsection-title {
    margin-top: 0;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 10px;
}

/* Table Styles */
.hwid-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.hwid-table th, .hwid-table td {
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.hwid-table th {
    background-color: #f5f5f5;
    color: #444;
    font-weight: 600;
    width: 35%;
}

.hwid-table tr:hover {
    background-color: #f9f9f9;
}

/* Button Style */
.hwid-btn {
    margin-top: 15px;
    display: inline-block;
}

/* Scrollbar */
.hwid-report-container::-webkit-scrollbar {
    width: 8px;
}
.hwid-report-container::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
.hwid-report-container::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 4px;
}
.hwid-report-container::-webkit-scrollbar-thumb:hover {
    background: #aaa; 
}
