/* Terminal-style design for Bitcoin Vulnerability Scanner */

body {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    min-height: 100vh;
}

.terminal-header {
    background: linear-gradient(90deg, #000000 0%, #1a1a1a 100%);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.terminal-header h1 {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
}

.terminal-subtitle {
    color: #ffffff;
    margin: 10px 0 0 0;
    font-size: 1.1rem;
}

.terminal-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(10px);
}

.terminal-panel h3 {
    color: #00ff00;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.6);
}

.terminal-input {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid #00ff00 !important;
    color: #00ff00 !important;
    font-family: 'Courier New', monospace !important;
}

.terminal-input:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important;
    color: #ffffff !important;
}

.terminal-input::placeholder {
    color: rgba(0, 255, 0, 0.6) !important;
}

.btn-danger {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border: 2px solid #ff0000;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #cc0000, #ff0000);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(45deg, #00ff00, #00cc00);
    border: 2px solid #00ff00;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}

.btn-success:hover {
    background: linear-gradient(45deg, #00cc00, #00ff00);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(45deg, #ffa500, #ff8c00);
    border: 2px solid #ffa500;
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-info {
    background: linear-gradient(45deg, #00bfff, #0080ff);
    border: 2px solid #00bfff;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
}

.vuln-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
    border: 2px solid #333333;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vuln-card.clickable {
    cursor: pointer;
}

.vuln-card.clickable:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-3px);
}

.vuln-card h4 {
    color: #ffffff;
    margin-bottom: 10px;
    font-size: 1rem;
}

.vuln-card p {
    color: #cccccc;
    margin: 0;
    font-size: 0.8rem;
}

.vuln-count {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 0 0 10px currentColor;
}

.vuln-count.critical {
    color: #ff0000;
}

.vuln-count.high {
    color: #ff6600;
}

.vuln-count.medium {
    color: #ffff00;
}

.vuln-count.critical-large {
    font-size: 3rem;
    color: #ff0000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.vuln-card.special {
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

.terminal-table {
    background: rgba(0, 0, 0, 0.9);
}

.terminal-table th {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border-color: #00ff00;
    text-transform: uppercase;
    font-weight: bold;
}

.terminal-table td {
    border-color: #333333;
    color: #ffffff;
}

.terminal-table tbody tr:hover {
    background: rgba(0, 255, 0, 0.1);
}

.clickable-hash {
    cursor: pointer;
    color: #00bfff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.clickable-hash:hover {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.clickable-hash.critical {
    color: #ff0000;
    font-weight: bold;
}

.clickable-hash.critical:hover {
    color: #ff6666;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.explorer-link {
    position: relative;
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.1), rgba(0, 255, 0, 0.1));
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    transition: all 0.3s ease;
}

.explorer-link:hover {
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.2), rgba(0, 255, 0, 0.2));
    border-color: #00bfff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 191, 255, 0.3);
}

.vulnerability-item {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.vulnerability-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #333333;
}

.private-key-section {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.private-key-section h5 {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
}

.vulnerability-details-row {
    background: rgba(0, 255, 0, 0.05);
}

.vulnerability-details-content {
    padding: 15px;
    border: 1px solid #00ff00;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
}

.progress {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
}

.progress-bar {
    background: linear-gradient(90deg, #ff0000, #00ff00);
    animation: progress-glow 2s ease-in-out infinite alternate;
}

@keyframes progress-glow {
    from { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
    to { box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
}

.alert {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.alert-success {
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.alert-danger {
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.badge {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .terminal-header h1 {
        font-size: 1.8rem;
    }
    
    .vuln-count {
        font-size: 1.5rem;
    }
    
    .vuln-count.critical-large {
        font-size: 2rem;
    }
}
