:root {
    --primary: #00ff88;
    --primary-dark: #00cc6d;
    --bg: #0a0a0f;
    --card-bg: #16161e;
    --text: #e1e1e6;
    --text-dim: #a8a8b3;
    --error: #ff4444;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
}

.subtitle {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
}

.field {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}

input:focus, select:focus {
    border-color: var(--primary);
}

.info-box {
    background: rgba(0, 255, 136, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px dashed var(--primary);
}

.info-box strong {
    color: var(--primary);
    font-size: 1.2rem;
}

button {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-family: 'Orbitron', sans-serif;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: black;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Tabs System */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    background: transparent;
    color: var(--text-dim);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.tab-btn i {
    font-size: 1.2rem;
}

.tab-btn.active {
    background: var(--primary);
    color: black;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.tab-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.field input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}


.hidden { display: none; }
.error-msg {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 5px;
    display: block;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* QR Code & Other styles */
.qr-container {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin: 20px auto;
    width: fit-content;
}

.qr-container img {
    display: block;
    max-width: 200px;
}

.copy-box textarea {
    width: 100%;
    height: 60px;
    background: #000;
    color: var(--text-dim);
    border: 1px solid #333;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    resize: none;
}

.timer {
    text-align: center;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

.success-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 20px;
}

.tx-box {
    margin: 20px 0;
    text-align: center;
}

.tx-link {
    color: var(--primary);
    text-decoration: underline;
    word-break: break-all;
    font-size: 0.8rem;
}



