/* css/components.css */
/* ELEMEN ANTARMUKA (UI) */

/* KOTAK KACA (SHARD) */
.shard-element {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

/* INPUT & SELECT */
textarea, input, select {
    width: 100%;
    background: rgba(0,0,0,0.6);
    border: 1px solid #333;
    color: white;
    padding: 10px;
    border-radius: 8px;
    font-family: 'Consolas', monospace;
    margin-top: 5px;
    box-sizing: border-box; /* Agar padding tidak merusak lebar */
}

textarea:focus, input:focus, select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

/* TOMBOL UTAMA */
.btn-action {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    transition: 0.2s;
    letter-spacing: 1px;
}

.btn-blue { background: linear-gradient(45deg, #007bff, #00c6ff); color: white; }
.btn-red { background: linear-gradient(45deg, #ff003c, #ff4d6d); color: white; }
.btn-green { background: linear-gradient(45deg, #00ff88, #00b359); color: black; }
.btn-orange { background: linear-gradient(45deg, #ff9900, #ffcc00); color: black; }

.btn-action:active { transform: scale(0.98); }

/* BADGE & LABEL */
.vip-badge {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: black;
    font-size: 0.7em;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 900;
    display: inline-block;
    margin-top: 5px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* PROGRESS BAR */
#progress-container {
    height: 4px;
    background: #333;
    margin-top: 15px;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}
#progress-bar {
    height: 100%;
    background: var(--neon-blue);
    width: 0%;
    transition: width 0.1s;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* MODE SWITCHER (VIP/FREE) */
.mode-switcher {
    display: flex;
    gap: 10px;
    padding: 5px;
}
.mode-btn {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8em;
    border: 1px solid transparent;
    transition: 0.3s;
}
.mode-btn.active-vip {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}
.mode-btn.inactive {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
}