/* Fingerprint Window Styles */
.fingerprint-section {
    padding: 4rem 0;
}

.fingerprint-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 5px 10px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.light-mode .fingerprint-container {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.dark-mode .fingerprint-container {
    background-color: #1e293b;
    border: 1px solid #334155;
}

.fingerprint-container.maximized {
    position: fixed;
    top: 10%;
    left: 5%;
    width: 90%;
    height: 80%;
    z-index: 100;
    max-width: none;
}

.fingerprint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid;
}

.light-mode .fingerprint-header {
    background: linear-gradient(to bottom, #f0f9ff, #e6f7ff);
    border-bottom-color: #e2e8f0;
}

.dark-mode .fingerprint-header {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    border-bottom-color: #334155;
}

.fingerprint-title {
    font-family: 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fingerprint-title .windows-icon {
    width: 16px;
    height: 16px;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.window-control.minimize {
    background-color: #ffbd2e;
}

.window-control.maximize {
    background-color: #28c940;
}

.window-control.close {
    background-color: #ff5f56;
}

.window-control:hover {
    filter: brightness(1.1);
}

.fingerprint-window {
    flex: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fingerprint-window.minimized {
    height: 0;
}

.fingerprint-toolbar {
    display: flex;
    padding: 0.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid;
}

.light-mode .fingerprint-toolbar {
    background-color: #edf2f7;
    border-bottom-color: #e2e8f0;
}

.dark-mode .fingerprint-toolbar {
    background-color: #1a202c;
    border-bottom-color: #2d3748;
}

.toolbar-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.light-mode .toolbar-button {
    color: #1a202c;
}

.dark-mode .toolbar-button {
    color: #e2e8f0;
}

.light-mode .toolbar-button:hover:not(.active) {
    background-color: #e2e8f0;
}

.dark-mode .toolbar-button:hover:not(.active) {
    background-color: #2d3748;
}

.light-mode .toolbar-button.active {
    background-color: #4299e1;
    color: white;
    font-weight: 500;
}

.dark-mode .toolbar-button.active {
    background-color: #4299e1;
    color: white;
    font-weight: 500;
}

.fingerprint-content {
    padding: 1.5rem;
    height: 600px; /* Фиксированная высота для стабильности */
    overflow-y: auto;
}

/* Loading scanner animation */
.loading-scanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}

.scanner-animation {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="18" height="18" rx="2"/><path d="M8 10V8h2"/><path d="M8 14v2h2"/><path d="M16 10V8h-2"/><path d="M16 14v2h-2"/><line x1="3" y1="12" x2="21" y2="12"/><line x1="12" y1="3" x2="12" y2="21"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: scan 2s infinite ease-in-out;
}

@keyframes scan {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.scanner-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Fingerprint Data Display */
.fingerprint-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.fingerprint-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.light-mode .fingerprint-card {
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dark-mode .fingerprint-card {
    background-color: #1a202c;
    border-color: #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fingerprint-card.main-fp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
}

.fingerprint-hash {
    font-family: 'Consolas', 'Liberation Mono', monospace;
    font-size: 1.2rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.light-mode .fingerprint-hash {
    background-color: #edf2f7;
    color: #2d3748;
}

.dark-mode .fingerprint-hash {
    background-color: #2d3748;
    color: #e2e8f0;
}

.device-type-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.device-type-icon.desktop {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>');
}

.device-type-icon.mobile {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="4" width="10" height="16" rx="2" ry="2"/><path d="M12 18h.01"/></svg>');
}

.device-type-icon.tablet {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="2" width="16" height="20" rx="2" ry="2"/><line x1="12" y1="18" x2="12" y2="18.01"/></svg>');
}

.fingerprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-mode .card-title {
    border-bottom-color: #edf2f7;
}

.dark-mode .card-title {
    border-bottom-color: #2d3748;
}

.card-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.card-icon.browser {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>');
}

.card-icon.os {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2" ry="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="2" x2="9" y2="4"/><line x1="15" y1="2" x2="15" y2="4"/><line x1="9" y1="20" x2="9" y2="22"/><line x1="15" y1="20" x2="15" y2="22"/><line x1="20" y1="9" x2="22" y2="9"/><line x1="20" y1="14" x2="22" y2="14"/><line x1="2" y1="9" x2="4" y2="9"/><line x1="2" y1="14" x2="4" y2="14"/></svg>');
}

.card-icon.display {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>');
}

.card-icon.privacy {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg>');
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid;
}

.light-mode .info-row:not(:last-child) {
    border-bottom-color: #f7fafc;
}

.dark-mode .info-row:not(:last-child) {
    border-bottom-color: #2c3950;
}

.info-label {
    font-weight: 500;
    opacity: 0.8;
}

.info-value {
    font-family: 'Consolas', 'Liberation Mono', monospace;
}

.fingerprint-footer {
    margin-top: 2rem;
    text-align: center;
}

.uniqueness-meter {
    margin-bottom: 1rem;
}

.meter-label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.meter-bar {
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 0.5rem;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(to right, #38b2ac, #4299e1);
    border-radius: 4px;
}

.meter-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4299e1;
}

.fingerprint-note {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Browser Information Tab */
.browser-header,
.system-header,
.network-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.light-mode .browser-header,
.light-mode .system-header,
.light-mode .network-header {
    background-color: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dark-mode .browser-header,
.dark-mode .system-header,
.dark-mode .network-header {
    background-color: #1a202c;
    border: 1px solid #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.browser-icon,
.system-icon,
.network-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Default browser icon */
.browser-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/></svg>');
}

.browser-icon.chrome {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%234299e1" d="M12 20.1c-4.47 0-8.1-3.63-8.1-8.1S7.53 3.9 12 3.9s8.1 3.63 8.1 8.1-3.63 8.1-8.1 8.1zm0-18C6.48 2.1 2.1 6.48 2.1 12c0 5.52 4.38 9.9 9.9 9.9 5.52 0 9.9-4.38 9.9-9.9 0-5.52-4.38-9.9-9.9-9.9zm0 16.2c-3.42 0-6.2-2.78-6.2-6.2s2.78-6.2 6.2-6.2 6.2 2.78 6.2 6.2-2.78 6.2-6.2 6.2zm0-10.7c-2.48 0-4.5 2.02-4.5 4.5s2.02 4.5 4.5 4.5 4.5-2.02 4.5-4.5-2.02-4.5-4.5-4.5z"/></svg>');
}

.browser-icon.firefox {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%234299e1" d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6a1.1 1.1 0 1 0 0-2.2 1.1 1.1 0 0 0 0 2.2z"/></svg>');
}

.system-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234299e1" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="4" y="4" width="16" height="16" rx="2" ry="2"/><rect x="9" y="9" width="6" height="6"/><line x1="9" y1="2" x2="9" y2="4"/><line x1="15" y1="2" x2="15" y2="4"/><line x1="9" y1="20" x2="9" y2="22"/><line x1="15" y1="20" x2="15" y2="22"/><line x1="20" y1="9" x2="22" y2="9"/><line x1="20" y1="14" x2="22" y2="14"/><line x1="2" y1="9" x2="4" y2="9"/><line x1="2" y1="14" x2="4" y2="14"/></svg>');
}

.fingerprint-details-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.light-mode .fingerprint-details-section {
    background-color: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.dark-mode .fingerprint-details-section {
    background-color: #1a202c;
    border: 1px solid #2d3748;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.details-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid;
}

.light-mode .details-title {
    border-bottom-color: #edf2f7;
}

.dark-mode .details-title {
    border-bottom-color: #2d3748;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.details-grid .full-width {
    grid-column: 1 / -1;
}

/* Feature Support Styles */
.support-meter {
    height: 12px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.dark-mode .support-meter {
    background-color: rgba(255, 255, 255, 0.1);
}

.support-meter-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
    background-color: #10b981; /* Green */
}

.support-meter-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.7);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

.dark-mode .support-meter-text {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

/* === Feature Category Styling === */
.feature-category {
    margin-bottom: 2.5rem;
}

.category-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid;
    position: relative;
}

.light-mode .category-title {
    border-color: rgba(0, 0, 0, 0.08);
    color: #1e293b;
}

.dark-mode .category-title {
    border-color: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

.category-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

/* === Feature Item Cards === */
.feature-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.light-mode .feature-item {
    background-color: rgba(249, 250, 251, 0.8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dark-mode .feature-item {
    background-color: rgba(17, 24, 39, 0.6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.light-mode .feature-item:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.dark-mode .feature-item:hover {
    background-color: rgba(17, 24, 39, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.light-mode .feature-item.supported {
    border-color: rgba(16, 185, 129, 0.15);
}

.light-mode .feature-item.not-supported {
    border-color: rgba(239, 68, 68, 0.15);
}

.dark-mode .feature-item.supported {
    border-color: rgba(16, 185, 129, 0.2);
}

.dark-mode .feature-item.not-supported {
    border-color: rgba(239, 68, 68, 0.2);
}

/* === Feature Status Indicator === */
.feature-status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-item.supported .feature-status-icon {
    background-color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.6);
}

.feature-item.not-supported .feature-status-icon {
    background-color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.6);
}

.feature-item.supported .feature-status-icon::before {
    content: '✓';
    color: white;
    font-size: 1.25rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-item.not-supported .feature-status-icon::before {
    content: '×';
    color: white;
    font-size: 1.75rem;
    font-weight: bold;
    position: absolute;
    top: 47%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-name {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.feature-status {
    font-size: 0.875rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
    margin-top: auto;
}

.feature-item.supported .feature-status {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-item.not-supported .feature-status {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.dark-mode .feature-item.supported .feature-status {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

.dark-mode .feature-item.not-supported .feature-status {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

/* === Suspicion Level Card === */
.suspicion-card {
    background-color: rgba(17, 24, 39, 0.5);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 2rem;
    border-left: 4px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.light-mode .suspicion-card {
    background-color: rgba(249, 250, 251, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.suspicion-none {
    border-color: #10b981;
}

.suspicion-low {
    border-color: #60a5fa;
}

.suspicion-medium {
    border-color: #f59e0b;
}

.suspicion-high {
    border-color: #ef4444;
}

.suspicion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.suspicion-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.suspicion-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.suspicion-none .suspicion-badge {
    background-color: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.suspicion-low .suspicion-badge {
    background-color: rgba(96, 165, 250, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.suspicion-medium .suspicion-badge {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.suspicion-high .suspicion-badge {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.dark-mode .suspicion-none .suspicion-badge {
    background-color: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

.dark-mode .suspicion-low .suspicion-badge {
    background-color: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.4);
}

.dark-mode .suspicion-medium .suspicion-badge {
    background-color: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.4);
}

.dark-mode .suspicion-high .suspicion-badge {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.suspicion-content ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.suspicion-content li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 0.95rem;
}

.suspicion-content li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #60a5fa;
    font-weight: bold;
}

.light-mode .suspicion-content li:before {
    color: #3b82f6;
}

.dark-mode .suspicion-content li:before {
    color: #60a5fa;
}

/* === Responsive Styles === */
@media (max-width: 768px) {
    .fingerprint-card.main-fp {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .fingerprint-hash {
        max-width: 100%;
    }
    
    .fingerprint-grid {
        grid-template-columns: 1fr;
    }
    
    .browser-header,
    .system-header,
    .network-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .browser-title,
    .system-title,
    .network-title {
        width: 100%;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .category-features {
        grid-template-columns: 1fr;
    }
    
    .suspicion-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .suspicion-badge {
        margin-top: 5px;
    }
}

/* === API Support Grid === */
.api-capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.api-item {
    position: relative;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    transform-origin: center;
    will-change: transform, box-shadow;
}

.api-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    transition: opacity 0.2s ease;
    will-change: opacity;
}

.api-item.supported::before {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.api-item.unsupported::before {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    opacity: 0.05;
}

.light-mode .api-item {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .api-item {
    background: rgba(30, 41, 59, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.api-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.api-item.supported:hover::before {
    opacity: 0.15;
}

.api-item.unsupported:hover::before {
    opacity: 0.08;
}

.dark-mode .api-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.api-item:hover .api-icon {
    transform: scale(1.1);
}

.api-item.supported {
    border-top: 3px solid #10b981;
}

.api-item.unsupported {
    border-top: 3px solid #ef4444;
}

.api-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    will-change: transform;
}

.api-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.85;
}

.api-item.supported .api-icon::before {
    filter: grayscale(0%);
}

.api-item.unsupported .api-icon::before {
    filter: grayscale(100%);
    opacity: 0.5;
}

.api-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: inherit;
}

.api-item.supported .api-name {
    color: #10b981;
}

.api-item.unsupported .api-name {
    color: #9ca3af;
}

.dark-mode .api-item.supported .api-name {
    color: #34d399;
}

.dark-mode .api-item.unsupported .api-name {
    color: #6b7280;
}

/* API Icons */
.bluetooth-icon::before { content: "🔵"; }
.geo-icon::before { content: "📍"; }
.rtc-icon::before { content: "📱"; }
.credential-icon::before { content: "🔑"; }
.usb-icon::before { content: "🔌"; }
.serial-icon::before { content: "🔄"; }
.gamepad-icon::before { content: "🎮"; }
.vibration-icon::before { content: "📳"; }
.payment-icon::before { content: "💳"; }
.share-icon::before { content: "📤"; }
.push-icon::before { content: "🔔"; }
.notifications-icon::before { content: "📢"; }
.media-icon::before { content: "📷"; }
.speech-icon::before { content: "🎤"; }
.worker-icon::before { content: "⚙️"; }
.service-icon::before { content: "🔨"; }
.webgl-icon::before { content: "🎨"; }
.webgl2-icon::before { content: "🖼️"; }
.webvr-icon::before { content: "👓"; }
.webxr-icon::before { content: "🥽"; }
.audio-icon::before { content: "🔊"; }

/* Supporting styles */
.api-support-card {
    overflow: visible;
}

@media (max-width: 768px) {
    .api-capabilities-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .api-item {
        padding: 1.25rem 0.75rem;
    }
}