/* Application Global Styles */

/* Global styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* Tab navigation styles */
.tab-navigation {
  background-color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.app-title {
  color: white;
  font-size: 20px;
  font-weight: bold;
  margin-right: 40px;
  padding: 15px 0;
}

.tabs {
  display: flex;
  flex: 1;
}

.tab {
  color: #ccc;
  text-decoration: none;
  padding: 15px 20px;
  margin-right: 10px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  display: inline-block;
}

.tab:hover {
  color: white;
  background-color: #444;
}

.tab.active {
  color: white;
  border-bottom-color: #007bff;
  background-color: #444;
}

/* Content wrapper */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  min-height: calc(100vh - 60px);
}

/* Responsive design */
@media (max-width: 768px) {
  .app-title {
    font-size: 16px;
    margin-right: 20px;
  }

  .tab {
    padding: 15px 15px;
    font-size: 14px;
    margin-right: 5px;
  }

  .tab-container {
    padding: 0 10px;
  }
}

/* Common styles that were duplicated across views */
h1 {
  color: #333;
  margin-bottom: 20px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.info-box {
  background-color: #e9ecef;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #495057;
}

/* Authentication styles */
.auth-section {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.user-info {
  color: #ccc;
  margin-right: 20px;
  font-size: 14px;
}

.user-name-link {
  color: #ccc;
  text-decoration: none;
  border-bottom: 1px dotted #ccc;
  transition: color 0.2s ease;
}

.user-name-link:hover {
  color: white;
  border-bottom-color: white;
}

.auth-link {
  color: #ccc;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #555;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 14px;
}

.auth-link:hover {
  color: white;
  background-color: #555;
  border-color: #666;
}

.logout-button {
  background: none;
  border: 1px solid #555;
  color: #ccc;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.logout-button:hover {
  color: white;
  background-color: #555;
  border-color: #666;
}

/* Flash messages */
.flash-messages {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

.flash {
  padding: 12px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.flash.notice {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.flash.alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Git hash styling */
.version {
  color: #666;
  font-size: 11px;
  margin-right: 15px;
}
