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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at center, #020202 0%, #050c0f 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    padding: 40px;
    max-width: 700px;
    background: rgba(0, 10, 15, 0.8);
    border: 1px solid rgba(0, 255, 204, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    width: 100%;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.2), inset 0 0 20px rgba(0, 255, 204, 0.05);
}

h1 {
    color: #00ffcc;
    margin-bottom: 10px;
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 10px #00ffcc;
    letter-spacing: 2px;
}

.subtitle {
    text-align: center;
    color: rgba(0, 255, 204, 0.8);
    margin-bottom: 30px;
    font-size: 0.95em;
    text-shadow: 0 0 8px #00ffcc;
}

.offline-badge {
    display: inline-block;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid #00ff80;
    color: #00ff80;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 0 10px #00ff80;
}

.section {
    
    margin-bottom: 20px;
    padding: 25px;
    background: rgba(0, 20, 25, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.1) inset;
}
.sub_section{
    display: flex;
    flex-direction: column;
}
.section h2 {
    color: #00ff80;
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: left;
}

.id-box {
    align-self: center;
    width: 100%;
    background: rgba(0, 20, 25, 0.7);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 15px 0;
    border: 4px solid #00ffcc;
}

.my-id {
    font-size: 2.5em;
    font-weight: bold;
    color: #00ffcc;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
    margin: 10px 0;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 4px solid #00ffcc;
    border-radius: 12px;
    font-size: 1.5em;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    background: rgba(0, 20, 25, 0.7);
    color: #00ffcc;
}

input[type="text"]:focus {
    outline: none;
    border-color: #00ffcc;
    box-shadow: 0 0 10px #00ffcc;
}

.btn {
    display: inline-block;
    font-size: 0.8rem;
    padding: 6px 12px;
    margin-top: 5px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid #00ffcc;
    border-radius: 8px;
    color: #00ffa2fb;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
}

.btn-primary {
    background: rgba(0, 255, 204, 0.1);
    color: #00ffcc;
    border: 1px solid #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover:not(:disabled) {
    background: rgba(0, 255, 204, 0.2);
    box-shadow: 0 0 20px #00ffcc;
    transform: translateY(-3px);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.Butt{
    width: 100%;
    padding: 20px;
    margin-top: 5px;
}
.download{
    background-color: rgba(0, 255, 204, 0.2);
    color: #155724;
}
.status {
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.05);
    text-shadow: 0 0 5px #00ffcc;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
}

.status.success {
    background: #d4edda;
    color: #155724;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
}

.file-input-wrapper {
    position: relative;
    margin-top: 15px;
}

input[type="file"] {
    display: none;
}

.file-label {
    display: block;
    padding: 16px;
    background: rgba(0, 255, 204, 0.05);
    border: 1px dashed #00ffcc;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #00ffcc;
    font-weight: 500;
    box-shadow: 0 0 10px #00ffcc;
}

.file-label:hover {
    background: #0a1f26;
    border-color: #00ffcc;
}

.file-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #696b6e;
}

.file-item {
    background: rgb(55, 54, 54);
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.file-name {
    font-weight: 600;
    color: #dddada;
    margin-bottom: 5px;
}

.file-size {
    font-size: 0.9em;
    color: #88888f;
}

.progress-bar {
   width: 100%;
    height: 8px;
    background: rgba(0, 255, 204, 0.1);
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ffcc 0%, #00aaff 100%);
    transition: width 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 0 15px #00ffcc;
}

.hidden {
    display: none;
}

.instructions {
    background: #06bf8151;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #07e777;
    transition: all 0.3s ease;
}

.instructions h3 {
    color: #e1e1e1;
    margin-bottom: 10px;
}

.instructions ol {
    margin-left: 20px;
    color: #00bef2;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.instructions.collapsed ol {
    display: none;
}

.instructions.collapsed h3 {
    cursor: pointer;
}

/*Radder*/
.radar-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 25px auto;
    border-radius: 50%;
    background: radial-gradient(circle at center, #001100 0%, #000 70%);
    overflow: hidden;
    box-shadow: 0 0 20px #00ff80 inset, 0 0 40px #00ff80;
}

.radar-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle, rgba(0, 255, 128, 0.2) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 255, 128, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 255, 128, 0.2) 1px, transparent 1px);
    background-size: 25px 25px, 25px 25px, 25px 25px;
}

.radar-beam {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: conic-gradient(from 0deg, rgba(0, 255, 128, 0.4) 0deg, rgba(0, 255, 128, 0.05) 45deg, transparent 70deg);
    border-radius: 50%;
    transform-origin: center;
    animation: beam-spin 2.5s linear infinite;
}

.radar-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 128, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.radar-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00ff80;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #00ff80, 0 0 20px #00ff80;
}

.radar-label {
    text-align: center;
    font-family: 'Orbitron', monospace;
    margin-top: 10px;
    font-weight: bold;
    color: #00ffcc;
    text-shadow: 0 0 15px #00ffcc;
}

@keyframes beam-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@media (max-width: 640px) {
    .radar-wrapper {
        position: relative;
        width: 200px;
        height: 200px;
        margin: 25px auto;
        border-radius: 50%;
        background: radial-gradient(circle at center, #001100 0%, #000 70%);
        overflow: hidden;
        box-shadow: 0 0 20px #00ff80 inset, 0 0 40px #00ff80;
    }

    .container {
        padding: 25px;
    }

    h1 {
        font-size: 1.5em;
    }

    .my-id {
        font-size: 1.8em;
    }
}
