/* Universal Box Sizing and Font */
html {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  background: #1a1a1a;
  color: #e0e0e0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  position: relative;
}

/* Tab Navigation */
.tab-navigation {
  background: #2c2c2c;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: flex;
  overflow: hidden;
}

.nav-tab {
  flex: 1;
  padding: 15px 20px;
  background: #333333;
  border: none;
  color: #b0b0b0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  border-right: 1px solid #444444;
}

.nav-tab:last-child {
  border-right: none;
}

.nav-tab.active {
  background: #2c2c2c;
  color: #ffffff;
  border-bottom: 3px solid #4CAF50;
}

.nav-tab:hover:not(.active) {
  background: #3a3a3a;
}

/* Tab Content */
.tab-content {
  background: #2c2c2c;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  padding: 30px;
  display: none;
}

.tab-content.active {
  display: block;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 40px;
}

.logo {
  max-height: 80px;
  max-width: 400px;
  margin: 0 auto 10px auto;
  display: block;
  object-fit: contain;
  background-color: transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.logo.loaded {
  opacity: 1;
}

.header h1 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.header .subtitle {
  color: #aaaaaa;
  font-size: 16px;
}

/* Main Content Layout */
.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

/* Section Styling */
.section {
  border: 1px solid #444444;
  border-radius: 8px;
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.section-header {
  background: #333333;
  padding: 15px 20px;
  border-bottom: 1px solid #444444;
  border-radius: 8px 8px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e0e0e0;
  margin: 0;
  display: flex;
  align-items: center;
}

.section-content {
  padding: 20px;
  flex-grow: 1;
  overflow: hidden;
}

/* Form Styling */
.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #555555;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  background: #333333;
  color: #e0e0e0;
  transition: border-color 0.3s;
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.form-input[type="password"] {
  font-family: 'Consolas', monospace;
}

