/* Salala Mobiles - Premium Glassmorphism UI Framework
    Theme: Deep Space & Cyber Blue
*/

:root {
    /* Color Palette */
    --primary: #00d2ff;
    --secondary: #3a7bd5;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg-dark: #070b14;
    --bg-deep: #020617;
    
    /* Glassmorphism Presets */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    
    /* Shadows */
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.2);
}

/* --- Global Reset & Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- High-Premium Background Effects --- */
.glow-bg {
    position: fixed;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08), transparent 70%);
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

/* --- The Glassmorphism Card (Core UI) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-premium);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
}

/* --- Form Elements --- */
.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px 20px;
    border-radius: 14px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 210, 255, 0.05);
    box-shadow: var(--shadow-glow);
}

/* --- Buttons --- */
.btn-premium {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
    filter: brightness(1.1);
}

.btn-premium:active {
    transform: translateY(0);
}

/* --- Status Badges --- */
.status-badge {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.status-processing { background: rgba(59, 130, 246, 0.1); color: var(--primary); border: 1px solid rgba(59, 130, 246, 0.2); }
.status-complete { background: rgba(16, 185, 129, 0.1); color: var(--accent); border: 1px solid rgba(16, 185, 129, 0.2); }

/* --- Table Styles --- */
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.premium-table th {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 15px;
}

.premium-table tr {
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
}

.premium-table td {
    padding: 20px 15px;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.premium-table td:first-child { border-left: 1px solid var(--glass-border); border-radius: 15px 0 0 15px; }
.premium-table td:last-child { border-right: 1px solid var(--glass-border); border-radius: 0 15px 15px 0; }

.premium-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Ripple effect (Linked to JS) */
.ripple-effect {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
    border-radius: 50%;
    animation: animate-ripple 0.6s linear;
}

@keyframes animate-ripple {
    from { width: 0; height: 0; opacity: 0.5; }
    to { width: 600px; height: 600px; opacity: 0; }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .glass-card { padding: 20px; }
    .btn-premium { width: 100%; }
}