/* Admin Dashboard Styles */
/* The Profit Society - Modular Admin Styles */

.admin-form {
  max-width: 400px;
  margin: 0 auto;
  background: rgba(44, 47, 38, 0.95);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-info {
  background: rgba(44, 47, 38, 0.95);
  padding: 1.5rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-info-left h3 {
  margin: 0 0 0.5rem 0;
  color: #ffcc33;
  font-size: 1.5rem;
}

.user-info-left p {
  margin: 0;
  color: #ccc;
  font-size: 0.9rem;
}

.user-info-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #444;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  color: #b8781f;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-weight: 500;
}

.tab-btn:hover {
  color: #ffcc33;
}

.tab-btn.active {
  color: #ffcc33;
  border-bottom-color: #ffcc33;
}

.tab-content {
  display: block;
}

.tab-content.active {
  display: block;
}

.owner-only {
  display: none;
}

.user-role-owner .owner-only {
  display: block;
}

.loading-tab {
  text-align: center;
  padding: 3rem;
  color: #ffcc33;
  font-size: 1.2rem;
}

.error {
  text-align: center;
  color: #dc3545;
  padding: 2rem;
}

/* Snapshot Styles */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.snapshot-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.snapshot-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 204, 51, 0.2);
  border-color: #ffcc33;
}

.stat-icon {
  font-size: 2.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 204, 51, 0.1);
  border-radius: 12px;
}

.stat-content h4 {
  margin: 0 0 0.5rem 0;
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffcc33;
  margin: 0;
}

.stat-change {
  font-size: 0.85rem;
  color: #4CAF50;
  margin-left: 0.5rem;
}

.snapshot-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.detail-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.detail-section h4 {
  margin: 0 0 1rem 0;
  color: #ffcc33;
  font-size: 1.2rem;
}

.activity-list {
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border-left: 3px solid #ffcc33;
  font-size: 0.9rem;
  color: #ccc;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  color: #ccc;
  font-size: 0.9rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-indicator.online {
  background: #4CAF50;
}

.status-indicator.offline {
  background: #f44336;
}

.tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-header h3 {
  margin: 0;
  color: #ffcc33;
  font-size: 1.5rem;
}

.snapshot-controls {
  display: flex;
  gap: 10px;
}

/* Additional styles will be loaded from the main styles.css */

