/* Reconnaissance Lab Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #00ff00;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #00ff00;
    padding-bottom: 20px;
}

.nav-buttons {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.nav-btn {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #00ff00;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.subtitle {
    font-size: 1.2em;
    color: #888;
    margin-bottom: 20px;
}

.warning-banner {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid #ffa500;
    border-radius: 8px;
    padding: 15px;
    margin: 20px auto;
    max-width: 800px;
    color: #ffa500;
}

.privacy-notice {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto 20px;
    max-width: 800px;
    color: #22c55e;
}

.warning-icon, .privacy-icon {
    font-size: 1.2em;
    margin-right: 10px;
}

/* Section Styles */
.section {
    margin-bottom: 40px;
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 12px;
    padding: 25px;
}

.section h2 {
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 10px;
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

.card h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 1.2em;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
    padding-bottom: 8px;
}

/* Data Display */
.data-display {
    min-height: 120px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 4px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    overflow-y: auto;
    max-height: 200px;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    color: #888;
    font-style: italic;
}

.data-item {
    margin-bottom: 8px;
    padding: 4px 0;
    border-bottom: 1px dotted rgba(0, 255, 0, 0.1);
}

.data-label {
    color: #00ff00;
    font-weight: bold;
    display: inline-block;
    width: 120px;
}

.data-value {
    color: #fff;
}

/* Privacy Controls */
.privacy-section {
    background: rgba(255, 165, 0, 0.05);
    border-color: rgba(255, 165, 0, 0.3);
}

.privacy-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 15px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 34px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: #666;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: rgba(0, 255, 0, 0.3);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #00ff00;
}

.btn-clear {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

/* Behavioral Analytics */
#mouseCanvas {
    border: 1px solid rgba(0, 255, 0, 0.3);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    cursor: crosshair;
    width: 100%;
    height: 200px;
}

#keystrokeArea {
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 4px;
    padding: 10px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    resize: vertical;
}

#keystrokeArea::placeholder {
    color: #666;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #888;
}

.timeline {
    max-height: 150px;
    overflow-y: auto;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dotted rgba(0, 255, 0, 0.1);
}

.time {
    color: #00ff00;
    font-weight: bold;
    min-width: 80px;
}

.event {
    color: #fff;
}

/* Export Controls */
.export-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-export {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-export:hover {
    background: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.data-summary {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
}

.summary-stats {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.summary-stats span {
    color: #888;
}

.summary-stats span span {
    color: #00ff00;
    font-weight: bold;
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 2px solid rgba(0, 255, 0, 0.5);
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 0, 0.5);
}

#liveModeIcon {
    font-size: 24px;
    color: #000;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    border-top: 1px solid rgba(0, 255, 0, 0.3);
    color: #666;
}

.disclaimer {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .nav-buttons {
        justify-content: center;
    }
    
    .privacy-controls {
        justify-content: center;
    }
    
    .export-controls {
        justify-content: center;
    }
    
    .summary-stats {
        justify-content: center;
        text-align: center;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .floating-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    #liveModeIcon {
        font-size: 20px;
    }
}

/* Animation Effects */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 2s infinite;
}

@keyframes dataUpdate {
    0% { background-color: rgba(0, 255, 0, 0.1); }
    100% { background-color: transparent; }
}

.data-updated {
    animation: dataUpdate 0.5s ease;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.5);
}