/* Modern osTicket Theme - Complete UI Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: 
    
    url('../images/bg.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh;
  color: #2d3748;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Container */
#container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(50px);
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Modern Header */
#header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 80px;
}

#logo {
  display: flex;
  align-items: center;
  height: auto;
}

#header #logo img {
  max-height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

#header .pull-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

#header p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

#header a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

#header a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #5a67d8;
}

/* Modern Navigation */
#nav {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  backdrop-filter: blur(10px);
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

#nav li {
  list-style: none;
  margin: 0 8px;
}

#nav li a {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#nav li a:hover,
#nav li a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Content Area */
#content {
  padding: 40px;
  min-height: 500px;
}

/* Landing Page Styles */
#landing_page {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  margin: 0;
  width: auto;
}

.sidebar .content {
  background: none;
  border: none;
  padding: 0;
}

/* Main Content */
.main-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: auto;
}

/* Search Form */
.search-form {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 16px 32px rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-form .search {
  flex: 1;
  min-width: 300px;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-form .search:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.search-form .search::placeholder {
  color: #a0aec0;
}

.search-form button {
  padding: 16px 32px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.search-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
}

/* Welcome Section */
.thread-body {
  background: linear-gradient(135deg, rgba(255, 236, 210, 0.9) 0%, rgba(252, 182, 159, 0.9) 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(252, 182, 159, 0.2);
}

.thread-body h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: none;
}

/* Featured Categories */
.featured-category {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  margin: 20px 10px;
  width: calc(50% - 20px);
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.featured-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-category i {
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Articles */
.article-headline {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  border-left: 4px solid #667eea;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-headline:hover {
  transform: translateX(8px) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-left-color: #ff6b6b;
  background: rgba(255, 255, 255, 0.95);
}

.article-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.article-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: #667eea;
}

.article-teaser {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.5rem;
  color: #2d3748;
}

h2 {
  font-size: 2rem;
  color: #2d3748;
}

h3 {
  font-size: 1.5rem;
  color: #4a5568;
}

/* Links */
a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #5a67d8;
  text-decoration: none;
}

/* Buttons */
.button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  font-family: inherit;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.green.button {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.green.button:hover {
  box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

.blue.button {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.blue.button:hover {
  box-shadow: 0 8px 20px rgba(66, 153, 225, 0.4);
}

/* Forms */
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

/* Messages */
#msg_notice, #msg_warning, #msg_error, #msg_info {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: none;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

#msg_notice {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.1) 100%);
  color: #2f855a;
  border-left: 4px solid #48bb78;
}

#msg_warning {
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(221, 107, 32, 0.1) 100%);
  color: #c05621;
  border-left: 4px solid #ed8936;
}

#msg_error {
  background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
  color: #c53030;
  border-left: 4px solid #f56565;
}

#msg_info {
  background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(49, 130, 206, 0.1) 100%);
  color: #2b6cb0;
  border-left: 4px solid #4299e1;
}

/* Footer */
#footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718096;
}

#footer a {
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
  #container {
    margin: 10px;
    border-radius: 16px;
  }
  
  #landing_page {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  #nav {
    flex-wrap: wrap;
    padding: 20px;
  }
  
  #nav li {
    margin: 4px;
  }
  
  #nav li a {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  #content {
    padding: 20px;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .featured-category {
    width: 100%;
    margin: 10px 0;
  }
  
  .search-form form {
    flex-direction: column;
  }
  
  .search-form .search {
    min-width: 100%;
  }
  
  .thread-body h1 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-category {
  animation: fadeInUp 0.6s ease-out;
}

.featured-category:nth-child(2) {
  animation-delay: 0.1s;
}

.featured-category:nth-child(3) {
  animation-delay: 0.2s;
}

.featured-category:nth-child(4) {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.clear { clear: both; }
.pull-left { float: left; }
.pull-right { float: right; }
.flush-left { text-align: left; }
.flush-right { text-align: right; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);/* Modern osTicket Theme - Complete UI Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: 
    linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 50%, rgba(240, 147, 251, 0.8) 100%),
    url('../images/modern-bg.jpg') center/cover no-repeat fixed;
  background-attachment: fixed;
  min-height: 100vh;
  color: #2d3748;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Modern Container */
#container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Modern Header */
#header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(20px);
  padding: 20px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  min-height: 80px;
}

#logo {
  display: flex;
  align-items: center;
  height: auto;
}

#header #logo img {
  max-height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

#header .pull-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

#header p {
  margin: 0;
  font-size: 14px;
  color: #4a5568;
  font-weight: 500;
}

#header a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

#header a:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #5a67d8;
}

/* Modern Navigation */
#nav {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  backdrop-filter: blur(10px);
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

#nav li {
  list-style: none;
  margin: 0 8px;
}

#nav li a {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  color: #4a5568;
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#nav li a:hover,
#nav li a.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Content Area */
#content {
  padding: 40px;
  min-height: 500px;
}

/* Landing Page Styles */
#landing_page {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  margin: 0;
  width: auto;
}

.sidebar .content {
  background: none;
  border: none;
  padding: 0;
}

/* Main Content */
.main-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: auto;
}

/* Search Form */
.search-form {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 16px 32px rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-form .search {
  flex: 1;
  min-width: 300px;
  padding: 16px 24px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  font-family: inherit;
}

.search-form .search:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.search-form .search::placeholder {
  color: #a0aec0;
}

.search-form button {
  padding: 16px 32px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: inherit;
}

.search-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 107, 107, 0.6);
}

/* Welcome Section */
.thread-body {
  background: linear-gradient(135deg, rgba(255, 236, 210, 0.9) 0%, rgba(252, 182, 159, 0.9) 100%);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 32px rgba(252, 182, 159, 0.2);
}

.thread-body h1 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  text-shadow: none;
}

/* Featured Categories */
.featured-category {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  margin: 20px 10px;
  width: calc(50% - 20px);
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.featured-category:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-category i {
  color: #667eea;
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid #667eea;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Articles */
.article-headline {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
  border-left: 4px solid #667eea;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.article-headline:hover {
  transform: translateX(8px) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-left-color: #ff6b6b;
  background: rgba(255, 255, 255, 0.95);
}

.article-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.article-title a {
  color: #2d3748;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-title a:hover {
  color: #667eea;
}

.article-teaser {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 {
  font-size: 2.5rem;
  color: #2d3748;
}

h2 {
  font-size: 2rem;
  color: #2d3748;
}

h3 {
  font-size: 1.5rem;
  color: #4a5568;
}

/* Links */
a {
  color: #667eea;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #5a67d8;
  text-decoration: none;
}

/* Buttons */
.button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  font-family: inherit;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
  color: white;
}

.green.button {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.green.button:hover {
  box-shadow: 0 8px 20px rgba(72, 187, 120, 0.4);
}

.blue.button {
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.blue.button:hover {
  box-shadow: 0 8px 20px rgba(66, 153, 225, 0.4);
}

/* Forms */
input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  background: white;
}

/* Messages */
#msg_notice, #msg_warning, #msg_error, #msg_info {
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  border: none;
  backdrop-filter: blur(10px);
  font-weight: 500;
}

#msg_notice {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(56, 161, 105, 0.1) 100%);
  color: #2f855a;
  border-left: 4px solid #48bb78;
}

#msg_warning {
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.1) 0%, rgba(221, 107, 32, 0.1) 100%);
  color: #c05621;
  border-left: 4px solid #ed8936;
}

#msg_error {
  background: linear-gradient(135deg, rgba(245, 101, 101, 0.1) 0%, rgba(229, 62, 62, 0.1) 100%);
  color: #c53030;
  border-left: 4px solid #f56565;
}

#msg_info {
  background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(49, 130, 206, 0.1) 100%);
  color: #2b6cb0;
  border-left: 4px solid #4299e1;
}

/* Footer */
#footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718096;
}

#footer a {
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
  #container {
    margin: 10px;
    border-radius: 16px;
  }
  
  #landing_page {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #header {
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  #nav {
    flex-wrap: wrap;
    padding: 20px;
  }
  
  #nav li {
    margin: 4px;
  }
  
  #nav li a {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  #content {
    padding: 20px;
  }
  
  .main-content {
    padding: 20px;
  }
  
  .featured-category {
    width: 100%;
    margin: 10px 0;
  }
  
  .search-form form {
    flex-direction: column;
  }
  
  .search-form .search {
    min-width: 100%;
  }
  
  .thread-body h1 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-category {
  animation: fadeInUp 0.6s ease-out;
}

.featured-category:nth-child(2) {
  animation-delay: 0.1s;
}

.featured-category:nth-child(3) {
  animation-delay: 0.2s;
}

.featured-category:nth-child(4) {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.clear { clear: both; }
.pull-left { float: left; }
.pull-right { float: right; }
.flush-left { text-align: left; }
.flush-right { text-align: right; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}