/* Simple custom styles for IJCAI site */ 

/* GLOBAL SITE LAYOUT & BACKGROUND AESTHETIC */
body {
  padding-top: 120px; /* prevents overlap from fixed top bars */
  background-color: #f4f7fa; /* Ultra-soft, professional cool gray-blue background */
  color: #333333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Enforce compact desktop layout and fix centering */
.container, .container-fluid {
  max-width: 1200px; /* Brought down from 1200px for a cleaner, compact feel */
  margin: 0 auto !important; /* Fixed typo from margin-0 to correctly center content */
}

/* TOP PUBLISHER BAR */
.publisher-bar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #d6e4f0 !important; /* lighter + visible contrast */
  padding: 10px 0;                      /* Slightly more compact padding */
  z-index: 1050;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.publisher-text {
  color: #1a1a1a;   /* dark text */
  text-align: left;
  font-size: 1.35rem; /* Made slightly smaller to look crisp on compact width */
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* BLUE BAND BEHIND MENU */
.navbar {
    position: fixed;
    top: 49px; /* adjusted to match new publisher bar height */
    width: 100%;
    z-index: 1040;
    background: #0d47a1 !important;   /* Deep Academic Blue */
    border-bottom: 4px solid #082d6b;  /* Darker shade for depth */
}

/* Navbar brand styling */
.navbar-brand { 
    font-weight: 600; 
    color: #ffffff !important;
}

.journal-subtitle {
  font-size: 0.8rem;
  color: #ffffff;  /* pure white */
  opacity: 0.9;    /* slightly softer than main title */
}

/* Navbar links */
.nav-link {
    color: #e3f2fd !important;
    font-weight: 500;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* Highlight active menu tab */
.nav-link.active {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px;
    font-weight: 600;
}

/* Homepage banner / jumbotron */
.jumbotron {
  padding: 35px; /* Shrunk padding from 48px to keep it snug */
  background: linear-gradient(135deg, #ffffff 0%, #eef5fc 100%); /* Elegant gradient fill */
  border: 1px solid #e2ecf5;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.03); /* Subtle depth shadow */
}

/* Section headers */
.section-title { 
    margin-bottom: 14px; 
    font-weight: 600; 
    color: #0d47a1; /* Ties section headers back to academic blue */
}

/* Card default height */
.card-placeholder { 
    min-height: 120px; 
}

/* Input reset styles */
#searchInput, #countryFilter {
    box-shadow: none !important;
    border: 1px solid #ced4da;
}

#searchInput:focus, #countryFilter:focus {
    border-color: #0d47a1;
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25) !important;
}

/* Footer styling */
.footer {
  background: #ffffff;
  padding: 24px 0; /* Shrunk padding for a tighter finish */
  margin-top: 45px;
  border-top: 1px solid #e2ecf5;
}