/* BORSA & HEDEF - Cyber-Neumorphic Dark Dashboard Theme */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #06060c;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Cosmic purple/blue grid overlay */
.cosmic-grid {
    background-image: 
        radial-gradient(at 0% 0%, rgba(123, 97, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 0, 127, 0.05) 0px, transparent 50%),
        linear-gradient(to right, rgba(123, 97, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(123, 97, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Glassmorphism panel with glowing pink/blue border */
.glass-panel {
    background: rgba(22, 22, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

.glow-pink-hover:hover {
    border-color: rgba(255, 0, 127, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.15);
}

.glow-blue-hover:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

/* Radar Target Sweeper styling */
.radar-container {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(12, 12, 22, 0.8);
    border: 2px solid rgba(123, 97, 255, 0.15);
    overflow: hidden;
    box-shadow: inset 0 0 30px rgba(123, 97, 255, 0.2);
}

/* Target concentric circles */
.radar-ring-1 {
    position: absolute;
    inset: 40px;
    border: 1px dashed rgba(123, 97, 255, 0.2);
    border-radius: 50%;
}
.radar-ring-2 {
    position: absolute;
    inset: 80px;
    border: 1px solid rgba(123, 97, 255, 0.1);
    border-radius: 50%;
}
.radar-ring-3 {
    position: absolute;
    inset: 120px;
    border: 1px dashed rgba(123, 97, 255, 0.3);
    border-radius: 50%;
}

/* Radar crosshairs */
.radar-cross-h {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(123, 97, 255, 0.15);
}
.radar-cross-v {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(123, 97, 255, 0.15);
}

/* Sweeper arm */
.radar-sweeper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    background: linear-gradient(45deg, rgba(0, 240, 255, 0.4) 0%, transparent 70%);
    transform-origin: 0% 0%;
    border-radius: 0 100% 0 0;
    z-index: 2;
    display: none;
}

.radar-sweeper.scanning {
    display: block;
    animation: sweep 2.5s linear infinite;
}

@keyframes sweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Locked Target Point */
.target-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: #ffd700;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #ffd700;
    z-index: 5;
    cursor: pointer;
    display: none;
}

.target-dot.found {
    display: block;
    animation: target-pulse 1.2s infinite alternate;
}

@keyframes target-pulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 8px #ffd700; }
    100% { transform: translate(-50%, -50%) scale(1.4); box-shadow: 0 0 20px #ffd700, 0 0 40px rgba(255, 215, 0, 0.4); }
}

/* Typewriter cursor caret */
.caret-glow {
    border-right: 2px solid #ff007f;
    animation: caret-blink 0.8s step-end infinite;
}
@keyframes caret-blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #ff007f; }
}

/* Pulsing neon scan button */
.btn-scan {
    background: linear-gradient(135deg, #7b61ff 0%, #ff007f 100%);
    box-shadow: 0 0 20px rgba(123, 97, 255, 0.4);
    transition: all 0.3s ease;
}
.btn-scan:hover {
    box-shadow: 0 0 35px rgba(255, 0, 127, 0.6);
    transform: scale(1.03);
}

.btn-telegram {
    background: #0088cc;
    box-shadow: 0 0 20px rgba(0, 136, 204, 0.3);
    transition: all 0.3s ease;
}
.btn-telegram:hover {
    box-shadow: 0 0 35px rgba(0, 136, 204, 0.6);
    transform: scale(1.02);
}

/* Accordion collapse panel */
.acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* Custom range styles */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    height: 6px;
    outline: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff007f;
    box-shadow: 0 0 10px #ff007f;
    cursor: pointer;
    transition: transform 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Timeline vertical line */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 24px;
    bottom: -24px;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}
.timeline-item:last-child::after {
    display: none;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #0c0c16;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #06060c;
}
::-webkit-scrollbar-thumb {
    background: #1c1c3a;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff007f;
}
