#content-container {
    margin-top: .5em ;
    margin-left: .5em ;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(/material-design-icons-4.0.0/font/MaterialIcons-Regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(/material-design-icons-4.0.0/font/MaterialIcons-Regular.ttf) format('truetype');
}


/************************/

.page-container {
    /*display: flex;
    gap: 30px;*/
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-card) ;
    color: var(--text-main) ;
    border: 2px solid var(--ncps-primary) ;
    border-radius: 10px ;
    padding: 0.4em ;
}

/* 1. Remove the browser's default 8px body margin */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevents accidental horizontal scrolling */
}

body {
    background-image: url("/ncps-gray-night-mode.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center ;
    font-family: system-ui , math , sans-serif ;
}

#top-bar {
    background-color: var(--ncps-primary);
    color: var(--text-bright);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 15px;
    position: relative; /* Anchor for absolute menus */
    box-sizing: border-box;
}

.bar-section {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer ;
}

.no-wrap { white-space: nowrap; }

.site-brand {
    font-weight: bold;
    font-size: 1.2rem;
    color: inherit;
    text-decoration: none;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    display: none; /* First Principle: Start Hidden */
    position: absolute;
    top: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    min-width: 200px;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

#main-nav { left: 0; }
#profile-nav { right: 0; }

.dropdown-menu a {
    padding: 12px 20px;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
}

.dropdown-menu a:hover { background: var(--bg-input); }

/* The "Show" Trigger */
.is-visible { display: flex !important; }

.user-meta a {
	color: var(--text-bright) ;
	text-decoration: none;
}

.ui-widget-content {
	background: var(--bg-card) ;
	color: var(--text-main) ;
	border: var(--border-subtle) ;
}

.call-out {
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 12px;
    border: 2px solid var(--ncps-primary);
    background-color: var(--bg-card); 
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
 }

 .call-out h2 {
    margin: 0.5em 0 0.5em 1em;
    color: var(--ncps-primary);
    display: flex;
    align-items: center;
    gap: 12px;
 }

 /* The Magic Icon Logic */
 .call-out h2::before {
    content: 'campaign'; /* The icon name */
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
 }

 .call-out hr {
    border: none;
    height: 1px;
    background-color: var(--ncps-primary);
    width: 95%;
    margin: 10px auto;
    opacity: 0.5;
 }

 .call-out-item {
    margin: 1em 1.5em;
    line-height: 1.6;
    color: var(--text-main);
 }
 
 .call-out.warning h2::before { content: 'warning'; color: var(--status-warning); }