/* ===================================
   MALWARE SCANNER BANNER STYLES
   ===================================
   Professional malware scanner design with security-focused aesthetics
*/

.modern-malware-banner-section {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.malware-banner-background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(239, 68, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.malware-banner-background-elements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.02"><circle cx="30" cy="30" r="2"/></g></g></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.malware-banner-container {
    position: relative;
    z-index: 2;
    margin-top: 80px;
}

.malware-banner-content-modern {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge Styling */
.malware-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(59, 130, 246, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.malware-badge span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* Main Heading */
.malware-main-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Description */
.malware-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Wrapper */
.malware-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Search Form */
.malware-search-form {
    margin-bottom: 30px;
}

.malware-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.malware-search-input {
    flex: 1;
    padding: 18px 25px;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.malware-search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.malware-search-input:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.malware-scan-btn {
    padding: 18px 30px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.malware-scan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.malware-scan-btn:active {
    transform: translateY(0);
}

/* Scan Type Selector */
.scan-type-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.scan-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scan-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.scan-option:hover::before {
    left: 100%;
}

.scan-option:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.1);
    transform: translateY(-2px);
}

.scan-option.active {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.scan-option i {
    font-size: 24px;
    color: #ef4444;
    margin-bottom: 10px;
    display: block;
}

.scan-option span {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.scan-option small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Security Features Grid */
.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.security-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.security-feature:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 16px;
}

.feature-content h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.trust-item svg {
    flex-shrink: 0;
}

/* Additional Info */
.malware-additional-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.malware-additional-info a {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.malware-additional-info a:hover {
    color: #dc2626;
    text-decoration: underline;
}

/* Modern Malware Results Section */
.malware-results-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 40px 0;
    min-height: 100vh;
    border-top: 1px solid #e2e8f0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.modern-results-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Results Header */
.results-header-modern {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.results-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.domain-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.domain-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.domain-details h2.domain-name {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.scan-timestamp {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-timestamp i {
    color: #94a3b8;
}

.scan-actions {
    display: flex;
    gap: 12px;
}

.btn-rescan,
.btn-share {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-rescan {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-rescan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-share {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-share:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Progress Bar Section */
.scan-progress-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.progress-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
}

.progress-bar-wrapper {
    background: #e2e8f0;
    border-radius: 10px;
    height: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#scan-progress-bar {
    background: #3b82f6 !important;
    background-color: #3b82f6 !important;
    height: 100%;
    border-radius: 8px;
    width: 2%;
    min-width: 2%;
    transition: width 0.3s linear, background-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
    overflow: hidden;
}

#scan-progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

#scan-progress-bar.completed {
    background: #10b981 !important;
    background-color: #10b981 !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

#scan-progress-bar.completed::before {
    animation: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.progress-bar {
    background: #3b82f6 !important;
    background-color: #3b82f6 !important;
    height: 100%;
    border-radius: 8px;
    width: 2%;
    min-width: 2%;
    transition: width 0.3s linear, background-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.progress-bar.completed {
    background: #10b981 !important;
    background-color: #10b981 !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}



/* Loading State */
.malware-loading-state {
    text-align: center;
    padding: 60px 20px;
    color: #1e293b;
}

/* Progress Text Animation */
.progress-text {
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    padding-left: 25px;
}

.progress-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #3b82f6;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.progress-text::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

.progress-text.completed {
    animation: none;
}

.progress-text.completed::before {
    content: '✓';
    border: none;
    color: #10b981;
    font-weight: bold;
    animation: none;
    width: auto;
    height: auto;
    transform: translateY(-50%);
}

.progress-text.completed::after {
    animation: none;
    content: '';
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Progress Container Animation */
.progress-bar-wrapper {
    position: relative;
}

.progress-bar-wrapper::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8, #3b82f6);
    background-size: 200% 200%;
    animation: borderGlow 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.3;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.loading-animation {
    margin-bottom: 30px;
    position: relative;
}

.scanner-icon {
    font-size: 60px;
    color: #ef4444;
    margin-bottom: 20px;
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

.scanning-progress {
    width: 200px;
    height: 4px;
    background: rgba(239, 68, 68, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-bar {
    width: 100%;
    height: 100%;
    background: #3b82f6;
    border-radius: 2px;
}



.malware-loading-state h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.malware-loading-state p {
    color: #64748b;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Scan Steps */
.scan-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    border-radius: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.step.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
    transform: scale(1.05);
}

.step.completed {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #10b981;
}

.step i {
    font-size: 20px;
    margin-bottom: 5px;
}

.step span {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Results Header */
.malware-results-header {
    text-align: center;
    margin-bottom: 40px;
}

.malware-results-header h2 {
    color: #1e293b;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.domain-name {
    color: #ef4444;
    font-weight: 800;
}

.scan-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.scan-time {
    color: #64748b;
    font-size: 14px;
}

.version {
    color: #64748b;
    font-size: 14px;
    margin-right: 8px;
}

.tech-type {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.no-software {
    color: #64748b;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
}

.scan-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-status.clean {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.scan-status.threat {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.summary-card-modern {
    grid-column: 1 / -1;
}

.scan-results-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.scan-results-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.scan-results-row.software-row {
    grid-template-columns: 1fr;
}

.software-row .result-card {
    max-width: none;
}

/* Modern Card Styles */
.result-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #f1f5f9;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title i {
    font-size: 20px;
    color: #3b82f6;
}

.card-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.card-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-status.analyzing .status-indicator {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.card-status.clean .status-indicator {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-status.warning .status-indicator {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.card-status.danger .status-indicator {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-header h3 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header i {
    color: #ef4444;
}

.card-header .status {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header .status.clean {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.card-header .status.threat,
.card-header .status.warning {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.card-content {
    padding: 25px 30px;
}

.card-content-modern {
    padding: 30px;
}

/* Scan Progress Content */
.scan-progress-content {
    text-align: center;
    padding: 40px 20px;
}

.scan-animation {
    position: relative;
    width: 100%;
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: scan-line 2s infinite;
}

@keyframes scan-line {
    0% { left: -100%; }
    100% { left: 100%; }
}

.scan-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Loading Skeletons */
.summary-loading {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loading-skeleton {
    height: 20px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: skeleton-loading 2s infinite;
}

.loading-skeleton:nth-child(1) { width: 100%; }
.loading-skeleton:nth-child(2) { width: 80%; }
.loading-skeleton:nth-child(3) { width: 60%; }

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Threat Items */
.threat-item,
.blacklist-item,
.software-item,
.security-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.security-item:last-child {
    border-bottom: none;
}

.issue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.issue-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.issue-status.valid,
.issue-status.present,
.issue-status.secure,
.issue-status.disabled {
    background: #dcfce7;
    color: #166534;
}

.issue-status.missing,
.issue-status.expired,
.issue-status.enabled {
    background: #fef2f2;
    color: #dc2626;
}

.issue-status.expiring-soon,
.issue-status.http-used {
    background: #fef3c7;
    color: #d97706;
}

.issue-status.error,
.issue-status.not-applicable {
    background: #f1f5f9;
    color: #64748b;
}

.recommendation {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
    font-style: italic;
}

.security-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
}

.security-score {
    display: flex;
    align-items: center;
    gap: 20px;
}

.score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 4px solid;
}

.score-circle.excellent {
    border-color: #10b981;
    background: #ecfdf5;
    color: #065f46;
}

.score-circle.good {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1e40af;
}

.score-circle.fair {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
}

.score-circle.poor {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
}

.score-number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
    text-align: center;
    line-height: 1.1;
}

.score-details {
    flex: 1;
}

.score-details p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #475569;
}

.score-details p:last-child {
    margin-bottom: 0;
}

.security-issues-list {
    margin-top: 20px;
}

.threat-item:hover,
.blacklist-item:hover,
.software-item:hover,
.security-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.threat-item.high {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.02);
}

.threat-item.medium {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.02);
}

.threat-item.low {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.threat-info,
.blacklist-info,
.software-info,
.issue-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.threat-info strong,
.software-info strong,
.issue-info strong {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.location,
.version,
.description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.severity,
.status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.severity.high,
.status.flagged,
.status.outdated {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.severity.medium {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.severity.low,
.status.clean,
.status.updated {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Blacklist Items */
.blacklist-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.blacklist-info i {
    color: #64748b;
    font-size: 18px;
    min-width: 20px;
}

.blacklist-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.blacklist-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.blacklist-description {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.blacklist-summary {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3b82f6;
}

.blacklist-summary p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

.blacklist-summary p:first-child {
    margin-bottom: 5px;
}

/* Cache Information Styles */
.cache-info {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cache-status {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.cache-status i {
    color: #6b7280;
    font-size: 16px;
}

.cache-label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.cache-time {
    color: #6b7280;
    font-size: 12px;
    margin-left: 10px;
}

.cache-actions {
    display: flex;
    gap: 10px;
}

.btn-clear-cache {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-clear-cache:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.btn-clear-cache i {
    font-size: 11px;
}

/* Malware Scanner Notification Styles */
.malware-notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: white !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-left: 4px solid #3b82f6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 400px !important;
    width: auto !important;
    height: auto !important;
    z-index: 9999 !important;
    animation: slideInRight 0.3s ease !important;
}

.malware-notification.notification-success {
    border-left-color: #10b981 !important;
}

.malware-notification.notification-error {
    border-left-color: #ef4444 !important;
}

.malware-notification.notification-info {
    border-left-color: #3b82f6 !important;
}

.malware-notification i {
    font-size: 18px !important;
}

.malware-notification.notification-success i {
    color: #10b981 !important;
}

.malware-notification.notification-error i {
    color: #ef4444 !important;
}

.malware-notification.notification-info i {
    color: #3b82f6 !important;
}

.malware-notification span {
    flex: 1 !important;
    font-size: 14px !important;
    color: #374151 !important;
    line-height: 1.4 !important;
}

.malware-notification .notification-close {
    background: none !important;
    border: none !important;
    color: #9ca3af !important;
    cursor: pointer !important;
    padding: 4px !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

.malware-notification .notification-close:hover {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Software Items */
.software-summary {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #3b82f6;
}

.software-summary p {
    margin: 0;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.software-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.software-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.software-item:last-child {
    margin-bottom: 0;
}

.software-item.outdated {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.02);
}

.software-item.updated {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.02);
}

.software-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.software-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.software-info .version {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.software-info .tech-type {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.software-item .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.software-item .status.outdated {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.software-item .status.updated {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.software-item .status i {
    font-size: 10px;
}

.no-software {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.no-software br {
    margin: 8px 0;
}

/* Scan Summary */
.scan-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #ef4444;
}

.scan-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.scan-status {
    text-align: center;
}

.status-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
}

.status-indicator.clean {
    background: #dcfce7;
    color: #166534;
}

.status-indicator.infected {
    background: #fef2f2;
    color: #dc2626;
}

.status-indicator.suspicious {
    background: #fef3c7;
    color: #d97706;
}

.status-indicator.error {
    background: #f1f5f9;
    color: #64748b;
}

.status-text {
    font-size: 18px;
    font-weight: 700;
}

.risk-level {
    font-size: 12px;
    opacity: 0.8;
}

.threats-section,
.suspicious-section {
    margin: 25px 0;
}

.threats-section h4,
.suspicious-section h4 {
    color: #dc2626;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suspicious-section h4 {
    color: #d97706;
}

.threat-item,
.suspicious-item {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}

.suspicious-item {
    background: #fef3c7;
    border-color: #fed7aa;
}

.threat-item:last-child,
.suspicious-item:last-child {
    margin-bottom: 0;
}

.threat-info,
.suspicious-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.threat-header,
.suspicious-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.threat-header strong,
.suspicious-header strong {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
}

.threat-severity,
.suspicious-severity {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.threat-severity.critical {
    background: #7f1d1d;
    color: white;
}

.threat-severity.high,
.suspicious-severity.high {
    background: #dc2626;
    color: white;
}

.threat-severity.medium,
.suspicious-severity.medium {
    background: #d97706;
    color: white;
}

.threat-severity.low {
    background: #65a30d;
    color: white;
}

.threat-location,
.suspicious-location {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.threat-description,
.suspicious-description {
    color: #475569;
    font-size: 14px;
    line-height: 1.4;
}

.threat-recommendation,
.suspicious-recommendation {
    color: #1e293b;
    font-size: 13px;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 10px;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

.clean-result {
    text-align: center;
    padding: 30px 20px;
    background: #ecfdf5;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
    margin: 20px 0;
}

.clean-result i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}

.clean-result p {
    color: #065f46;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
}

.recommendations {
    background: #eff6ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin-top: 25px;
}

.recommendations h4 {
    color: #1e40af;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.recommendations li {
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.recommendations li:last-child {
    margin-bottom: 0;
}

.matched-code {
    background: #1f2937;
    color: #f9fafb;
    padding: 10px;
    border-radius: 6px;
    margin: 8px 0;
    border-left: 3px solid #ef4444;
}

.matched-code strong {
    color: #fbbf24;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matched-code code {
    background: transparent;
    color: #f87171;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    padding: 0;
    word-break: break-all;
}

.code-context {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    margin: 8px 0;
    border-left: 3px solid #3b82f6;
}

.code-context strong {
    color: #1e40af;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.code-context pre {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 8px;
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    color: #374151;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.scan-summary h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.scan-progress {
    margin-bottom: 25px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.overall-status {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
}

.overall-status.infected {
    background: #fef2f2;
    border-left-color: #dc2626;
}

.overall-status.issues-found {
    background: #fef3c7;
    border-left-color: #d97706;
}

.overall-status.minor-issues {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.overall-status.clean {
    background: #ecfdf5;
    border-left-color: #10b981;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-header i {
    font-size: 24px;
}

.overall-status.infected .status-header i {
    color: #dc2626;
}

.overall-status.issues-found .status-header i {
    color: #d97706;
}

.overall-status.minor-issues .status-header i {
    color: #3b82f6;
}

.overall-status.clean .status-header i {
    color: #10b981;
}

.status-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    flex: 1;
}

.risk-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-badge.critical {
    background: #7f1d1d;
    color: white;
}

.risk-badge.high {
    background: #dc2626;
    color: white;
}

.risk-badge.medium {
    background: #d97706;
    color: white;
}

.risk-badge.low {
    background: #10b981;
    color: white;
}

.summary-stats {
    margin-bottom: 25px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.stat-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #e5e7eb;
}

.stat-box.threats {
    border-top-color: #dc2626;
}

.stat-box.suspicious {
    border-top-color: #d97706;
}

.stat-box.issues {
    border-top-color: #3b82f6;
}

.stat-box.checks {
    border-top-color: #10b981;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.clean-summary,
.issues-summary {
    text-align: center;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.clean-summary {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.issues-summary {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.clean-summary i {
    font-size: 36px;
    color: #10b981;
    margin-bottom: 15px;
}

.issues-summary i {
    font-size: 36px;
    color: #dc2626;
    margin-bottom: 15px;
}

.clean-summary p,
.issues-summary p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.clean-summary p {
    color: #065f46;
}

.issues-summary p {
    color: #7f1d1d;
}

.summary-recommendations {
    background: #eff6ff;
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
}

.summary-recommendations h4 {
    color: #1e40af;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.summary-recommendations li {
    color: #1e40af;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

.summary-recommendations li:last-child {
    margin-bottom: 0;
}

.summary-loading {
    text-align: center;
    padding: 30px;
    color: #64748b;
    font-size: 16px;
}

.summary-loading i {
    margin-right: 10px;
    color: #3b82f6;
}

.summary-content .success {
    color: #10b981;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.summary-content .warning {
    color: #ef4444;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(239, 68, 68, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.recommendations {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.recommendations h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.recommendations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendations li {
    color: #64748b;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 25px;
}

.recommendations li:last-child {
    border-bottom: none;
}

.recommendations li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px 20px;
    color: #ef4444;
}

.error-message i {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.error-message h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.error-message p {
    font-size: 16px;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .malware-main-heading {
        font-size: 3rem;
    }
    
    .security-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modern-malware-banner-section {
        padding: 80px 0;
        min-height: auto;
    }
    
    .malware-main-heading {
        font-size: 2.5rem;
    }
    
    .malware-description {
        font-size: 1.1rem;
    }
    
    .malware-form-wrapper {
        padding: 25px;
    }
    
    .malware-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .malware-scan-btn {
        width: 100%;
    }
    
    .scan-type-selector {
        grid-template-columns: 1fr;
    }
    
    .security-features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    /* Mobile Results Section */
    .malware-results-section {
        padding: 40px 0;
    }
    
    .scan-results-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scan-results-grid {
        gap: 25px;
    }
    
    .scan-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .malware-results-header h2 {
        font-size: 2rem;
    }
    
    .result-card {
        margin-bottom: 20px;
    }
    
    .card-header {
        padding: 15px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .card-content {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .malware-main-heading {
        font-size: 2rem;
    }
    
    .malware-description {
        font-size: 1rem;
    }
    
    .malware-form-wrapper {
        padding: 20px;
    }
    
    .scan-option {
        padding: 15px 10px;
    }
    
    /* Mobile Results Improvements */
    .malware-results-section {
        padding: 30px 0;
    }
    
    .malware-results-header {
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .malware-results-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .domain-name {
        display: block;
        margin-top: 5px;
    }
    
    .scan-results-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .scan-results-grid {
        padding: 0 15px;
        gap: 20px;
    }
    
    .result-card {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }
    
    .card-header {
        padding: 12px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .card-header h3 {
        font-size: 16px;
    }
    
    .card-content {
        padding: 12px;
    }
    
    .threat-item,
    .blacklist-item,
    .software-item,
    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .threat-info strong,
    .software-info strong,
    .issue-info strong {
        font-size: 14px;
    }
    
    .location,
    .version,
    .description {
        font-size: 12px;
    }
    
    .severity,
    .status {
        align-self: flex-end;
        margin-top: 5px;
    }
    
    /* Software Analysis Mobile Improvements */
    .software-summary {
        margin: 0 15px 15px 15px;
        padding: 12px;
    }
    
    .software-item {
        margin: 0 15px 10px 15px;
        padding: 12px;
    }
    
    .software-info .tech-type {
        font-size: 10px;
    }
    
    .software-item .status {
        padding: 4px 8px;
        font-size: 10px;
        margin-top: 8px;
        align-self: flex-start;
    }
    
    .no-software {
         margin: 0 15px;
         padding: 30px 15px;
         font-size: 13px;
     }
     
     /* Cache Information Mobile Styles */
     .cache-info {
         margin: 15px;
         padding: 12px;
         flex-direction: column;
         align-items: flex-start;
         gap: 12px;
     }
     
     .cache-status {
         flex-direction: column;
         align-items: flex-start;
         gap: 5px;
     }
     
     .cache-time {
         margin-left: 0;
     }
     
     .cache-actions {
         width: 100%;
     }
     
     .btn-clear-cache {
         width: 100%;
         justify-content: center;
         padding: 10px 16px;
     }
     
     /* Malware Notification Mobile Styles */
      .malware-notification {
          top: 10px !important;
          right: 10px !important;
          left: 10px !important;
          max-width: none !important;
          margin: 0 !important;
      }
     
     .scan-summary {
        margin: 0 15px;
        padding: 20px 15px;
    }
    
    .scan-summary h3 {
        font-size: 1.5rem;
    }
    
    .recommendations {
        padding: 15px;
    }
    
    .recommendations li {
        font-size: 13px;
        padding: 6px 0;
    }
    
    /* Modern Results Mobile Styles */
    .modern-results-container {
        padding: 0 15px;
    }
    
    .results-header-modern {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .results-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .domain-info {
        gap: 15px;
    }
    
    .domain-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .domain-details h2.domain-name {
        font-size: 1.5rem;
    }
    
    .scan-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .btn-rescan,
    .btn-share {
        flex: 1;
        justify-content: center;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .scan-progress-container {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .scan-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .step {
        padding: 12px 8px;
    }
    
    .step i {
        font-size: 16px;
    }
    
    .step span {
        font-size: 10px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-header-modern {
        padding: 20px 20px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .card-title h3 {
        font-size: 1.1rem;
    }
    
    .card-content-modern {
        padding: 20px;
    }
    
    .scan-progress-content {
        padding: 30px 15px;
    }
    
    .scan-description {
        font-size: 13px;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .domain-details h2.domain-name {
        font-size: 1.3rem;
    }
    
    .scan-steps {
        grid-template-columns: 1fr;
    }
    
    .btn-rescan span,
    .btn-share span {
        display: none;
    }
    
    .card-header-modern {
        padding: 15px;
    }
    
    .card-content-modern {
        padding: 15px;
    }
    
    .scan-progress-container {
         padding: 15px;
     }
 }

/* Notification Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Enhanced Result Cards */
.result-card {
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    transition: left 0.5s ease;
}

.result-card:hover::before {
    left: 100%;
}

/* Summary Card Enhancements */
.summary-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
}

.summary-card-modern:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

/* Card Content Transitions */
.card-content-modern {
    transition: all 0.3s ease;
}

.scan-progress-content {
    transition: opacity 0.3s ease;
}

/* Status Badge Improvements */
.status-indicator {
    position: relative;
    overflow: hidden;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.status-indicator:hover::before {
    left: 100%;
}

/* Improved Hover Effects */
.btn-rescan:hover,
.btn-share:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Loading State Improvements */
.loading-skeleton {
    position: relative;
    overflow: hidden;
}

.loading-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skeleton-shimmer 2s infinite;
}

@keyframes skeleton-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Overview Placeholder Styles */
.overview-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.overview-icon {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.overview-text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #64748b;
}