/* ====== GLASS MORPHISM UTILITIES ====== */

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
}

/* ====== GLASS BUTTONS ====== */
.glass-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 14px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(139, 92, 246, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.glass-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 30px rgba(139, 92, 246, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.glass-btn:hover::before {
    left: 100%;
}

.glass-btn:active {
    transform: translateY(-1px);
}

/* Secondary Button Style */
.glass-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 1rem 2rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* ====== GLASS INPUT ====== */
.glass-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    width: 100%;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 3px rgba(139, 92, 246, 0.2),
        0 0 20px rgba(139, 92, 246, 0.1);
}

.glass-input::placeholder {
    color: var(--text-muted);
}

.glass-input-sm {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    outline: none;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.glass-input-sm:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

/* ====== NEON EFFECTS ====== */
.neon-border {
    border: 1px solid var(--primary-color);
    box-shadow:
        0 0 5px var(--primary-color),
        0 0 20px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.neon-text {
    text-shadow:
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color);
}

/* ====== SHIMMER EFFECT ====== */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.shimmer {
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* ====== GLASS CARD HOVER ====== */
.glass-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card-hover:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

/* ====== GLASS RADIO/CHECKBOX ====== */
.glass-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.glass-radio:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.glass-radio input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.2s ease;
    position: relative;
}

.glass-radio input[type="radio"]:checked {
    border-color: var(--primary-color);
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.glass-radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

/* ====== TAGS & BADGES ====== */
.glass-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-glow);
}

.glass-tag-success {
    background: rgba(74, 222, 128, 0.2);
    border-color: rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.glass-tag-warning {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* Fix Select Options Visibility */
select option {
    background-color: #1a1a2e;
    color: white;
    padding: 10px;
}