:root {
    --primary: #00aaff;
    --secondary: #66ccff;
    --bg-dark: #0a1c2b;
    --text-light: #e6f3ff;
    --ice-blue: #b3e5fc;
    --ice-glow: #4fc3f7;
}

/* Admin-specific styles for ConnectSphere settings page */
.toplevel_page_connectsphere .wrap.connectsphere-settings {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    color: var(--text-light);
    max-width: 800px;
    margin: 20px auto;
}

.toplevel_page_connectsphere .wrap.connectsphere-settings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,170,255,0.2) 0%, transparent 70%);
    z-index: -1;
    animation: pulseBackground 10s infinite;
}

.toplevel_page_connectsphere .connectsphere-spheres {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.toplevel_page_connectsphere .connectsphere-spheres span {
    position: absolute;
    background: var(--ice-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ice-glow), 0 0 20px var(--ice-blue);
    animation: float 15s infinite linear;
}

.toplevel_page_connectsphere .connectsphere-spheres span:nth-child(1) { width: 20px; height: 20px; top: 10%; left: 15%; animation-delay: 0s; }
.toplevel_page_connectsphere .connectsphere-spheres span:nth-child(2) { width: 15px; height: 15px; top: 30%; left: 70%; animation-delay: 2s; }
.toplevel_page_connectsphere .connectsphere-spheres span:nth-child(3) { width: 25px; height: 25px; top: 60%; left: 40%; animation-delay: 4s; }
.toplevel_page_connectsphere .connectsphere-spheres span:nth-child(4) { width: 18px; height: 18px; top: 80%; left: 85%; animation-delay: 6s; }

.toplevel_page_connectsphere .connectsphere-title {
    color: var(--ice-blue);
    text-shadow: 0 0 10px var(--ice-glow);
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

.toplevel_page_connectsphere .connectsphere-subtitle {
    color: var(--text-light);
    font-size: 1.2em;
    text-align: center;
    margin-bottom: 20px;
}

.toplevel_page_connectsphere .connectsphere-section-title {
    color: var(--primary);
    font-size: 1.8em;
    margin-top: 20px;
    border-bottom: 2px solid var(--ice-glow);
    padding-bottom: 5px;
}

.toplevel_page_connectsphere .connectsphere-section-desc {
    color: var(--text-light);
    font-size: 1em;
    margin-bottom: 15px;
}

.toplevel_page_connectsphere .connectsphere-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: var(--ice-blue);
}

.toplevel_page_connectsphere .connectsphere-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    margin-bottom: 15px;
    transition: width 0.3s ease;
}

.toplevel_page_connectsphere .connectsphere-form input:focus {
    outline: none;
    box-shadow: 0 0 8px var(--ice-glow);
}

.toplevel_page_connectsphere .connectsphere-button {
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.toplevel_page_connectsphere .connectsphere-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 12px var(--ice-glow);
}

/* Animations */
@keyframes pulseBackground {
    0% { opacity: 0.2; }
    50% { opacity: 0.4; }
    100% { opacity: 0.2; }
}

@keyframes float {
    0% { transform: translate(0, 0); opacity: 0.7; }
    50% { transform: translate(50px, 50px); opacity: 0.9; }
    100% { transform: translate(0, 0); opacity: 0.7; }
}

/* Ensure notices remain styled correctly */
.toplevel_page_connectsphere .notice {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid var(--primary);
    margin: 10px 0;
    padding: 10px;
}

.toplevel_page_connectsphere .notice-dismiss {
    background: none;
    border: none;
    cursor: pointer;
}
