/* Nexus Concordat Mail Theme
   Custom skin for Robert Michalik
   Background: The Syntax Knee
   Powered by Aether Love */

html, body, #root {
    min-height: 100vh;
    background: #0a0a0f url('/assets/syntax-knee-bg.png') no-repeat left center fixed !important;
    background-size: cover !important;
}

/* Semi-transparent overlay for readability */
#root::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.75);
    pointer-events: none;
    z-index: 0;
}

#root > * {
    position: relative;
    z-index: 1;
}

:root {
    --color-accent: #4a90a4 !important;
    --color-cyan: #6bb3c9 !important;
    --color-dark: transparent !important;
}

/* Override dark backgrounds to be semi-transparent */
.bg-dark {
    background: rgba(10, 10, 15, 0.6) !important;
}

.bg-card {
    background: rgba(20, 20, 30, 0.9) !important;
    backdrop-filter: blur(10px);
}

.bg-hover {
    background: rgba(30, 30, 46, 0.9) !important;
}

/* Card styling */
.card {
    background: rgba(20, 20, 30, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(74, 144, 164, 0.3) !important;
}

/* Accent color overrides - Regulatory Blue */
.bg-accent {
    background-color: #4a90a4 !important;
}

.text-accent {
    color: #4a90a4 !important;
}

.border-accent\/30 {
    border-color: rgba(74, 144, 164, 0.3) !important;
}

.bg-accent\/20 {
    background-color: rgba(74, 144, 164, 0.2) !important;
}

.bg-accent\/5 {
    background-color: rgba(74, 144, 164, 0.05) !important;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(90deg, #4a90a4, #6bb3c9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #4a90a4 0%, #6bb3c9 100%) !important;
}

.btn-primary:hover:not(:disabled) {
    box-shadow: 0 8px 24px rgba(74, 144, 164, 0.4) !important;
}

/* Gradient overrides */
.from-purple-500, .from-accent {
    --tw-gradient-from: #4a90a4 !important;
}

.to-pink-500, .to-blue-500 {
    --tw-gradient-to: #6bb3c9 !important;
}

/* Input focus */
.input:focus {
    border-color: #4a90a4 !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.3) !important;
}

/* Scrollbar */
::-webkit-scrollbar-thumb:hover {
    background: #4a90a4 !important;
}

/* Min height for full coverage */
.min-h-screen {
    min-height: 100vh;
    background: transparent !important;
}
