/* =========================================
   LUCIDWIRE GLOBAL DARK THEME
   ========================================= */

body, html {
    background-color: #0d1117 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif !important;
    color: #c9d1d9 !important;
}

.wp-site-blocks, .is-root-container {
    background-color: transparent !important;
}

/* Base text elements */
p, h1, h2, h3, h4, h5, h6, li, span, div {
    color: #c9d1d9 !important;
}

/* Links */
a {
    color: #58a6ff !important;
    text-decoration: none !important;
}
a:hover {
    color: #79c0ff !important;
    text-decoration: underline !important;
}

/* Header & Navigation Background */
header, .wp-block-template-part, .has-background {
    background-color: transparent !important;
}
.wp-block-navigation {
    background-color: rgba(22, 27, 34, 0.9) !important;
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px;
}

/* Buttons */
.wp-block-button__link, button, input[type="submit"] {
    background-color: #1f6feb !important;
    border: 1px solid #1f6feb !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}
.wp-block-button__link:hover, button:hover, input[type="submit"]:hover {
    background-color: #58a6ff !important;
    border-color: #58a6ff !important;
}

/* Posts/Cards */
.wp-block-post, .type-post, .post {
    background-color: #161b22 !important;
    border: 1px solid #30363d !important;
    border-radius: 8px !important;
    padding: 24px !important;
    margin-bottom: 24px !important;
}

/* Form Inputs */
input[type="text"], input[type="email"], input[type="password"], textarea {
    background-color: #0d1117 !important;
    border: 1px solid #30363d !important;
    color: #c9d1d9 !important;
    border-radius: 4px;
    padding: 8px;
}
input:focus, textarea:focus {
    border-color: #58a6ff !important;
    outline: none !important;
}

/* Subtle Squiggly Cloud Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background-color: #c9d1d9;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M10,50 Q20,30 40,40 Q60,10 80,40 Q95,45 90,60 Q100,80 80,85 Q60,100 40,80 Q20,95 10,75 Q-5,65 10,50 Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M10,50 Q20,30 40,40 Q60,10 80,40 Q95,45 90,60 Q100,80 80,85 Q60,100 40,80 Q20,95 10,75 Q-5,65 10,50 Z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
    -webkit-mask-size: 150px;
    mask-size: 150px;
    opacity: 0.03;
    pointer-events: none;
}

/* =========================================
   LUCIDDOC ESCALATION BRIDGE STYLES
   ========================================= */
.lucidwire-escalation-wrap {
    margin: 36px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.lucidwire-escalation-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #0d1117 !important;
    border: 1px solid rgba(0, 243, 255, 0.25) !important;
    border-left: 4px solid #00f3ff !important;
    border-radius: 8px;
    padding: 22px 26px;
    box-shadow: 0 0 24px rgba(0, 243, 255, 0.1);
}
.lucidwire-escalation-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 2px;
}
.lucidwire-escalation-title {
    color: #00f3ff !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.03em;
}
.lucidwire-escalation-text {
    color: #8b9ab5 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 0 0 16px !important;
}
.lucidwire-escalation-btn {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.15), rgba(0, 243, 255, 0.05)) !important;
    color: #00f3ff !important;
    border: 1px solid rgba(0, 243, 255, 0.4) !important;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    font-family: 'Fira Code', 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.lucidwire-escalation-btn:hover {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.15)) !important;
    border-color: #00f3ff !important;
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.4);
    text-decoration: none !important;
    transform: translateY(-1px);
}
.lucidwire-escalation-fallback {
    margin: 12px 0 0 !important;
    font-size: 12px !important;
    color: #5a6677 !important;
}
.lucidwire-escalation-fallback a {
    color: #58a6ff !important;
    text-decoration: none !important;
}
.lucidwire-escalation-fallback a:hover {
    text-decoration: underline !important;
}
