/* public_html/user/assets/css/user.main.css */

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;800&display=swap');

/* Base Body Styling - Rich "Deep Ocean" Fintech Gradient */
body { 
    font-family: 'Inter', sans-serif; 
    /* A vibrant, deep gradient (Midnight Blue -> Royal Blue -> Teal) */
    /* This ensures white text is 100% readable while avoiding flat black */
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f766e 100%); 
    background-attachment: fixed; 
    color: #f8fafc; 
}

/* ========================================= */
/* GLASSMORPHISM UTILITIES                   */
/* ========================================= */

/* Main Containers (Sidebars, Headers) */
.glass-panel {
    /* Giving the glass a dark tint makes the white text pop */
    background: rgba(15, 23, 42, 0.45); 
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.3);
}

/* Inner Cards (Dashboard widgets, forms) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Adds a subtle top highlight */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Form Inputs */
.glass-input {
    /* Solid dark background for inputs so typing is always readable */
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: #38bdf8;
    background: rgba(15, 23, 42, 0.8);
    outline: none;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

/* Clear placeholder colors */
.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Disabled/Readonly Inputs */
.glass-input:read-only {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}

/* ========================================= */
/* DECORATIVE ELEMENTS                       */
/* ========================================= */

/* Ambient Blobs - Adding a slow pulsing animation */
.blob { 
    position: absolute; 
    filter: blur(120px); 
    z-index: -1; 
    opacity: 0.4; 
    animation: pulse-blob 8s infinite alternate ease-in-out;
}

@keyframes pulse-blob {
    0% { transform: scale(1) translate(0px, 0px); }
    100% { transform: scale(1.15) translate(20px, -20px); }
}