/* ============================================
   LUM.OS ADMIN DASHBOARD - MODERN DESIGN
   ============================================ */

.admin-dashboard-page {
  font-family: "Manrope-Regular", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0a0a;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Login Screen */
.admin-dashboard-login {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  background: #0a0a0a;
}

.admin-dashboard-login-container {
  width: 100%;
  max-width: 420px;
}

.admin-dashboard-login-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.admin-dashboard-login-header {
  text-align: center;
  margin-bottom: 32px;
}

.admin-dashboard-login-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.admin-dashboard-login-header h1 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  font-family: "Geis-Bold", "Montserrat", sans-serif;
}

.admin-dashboard-login-header p {
  color: #999;
  font-size: 14px;
}

.admin-dashboard-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-dashboard-login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-dashboard-login-form label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.admin-dashboard-login-form input {
  padding: 14px 18px;
  border-radius: 12px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.admin-dashboard-login-form input:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.admin-dashboard-login-form input::placeholder {
  color: #666;
}

.btn-dashboard-login {
  padding: 14px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-dashboard-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.admin-dashboard-login-error {
  padding: 12px;
  background: #fee;
  color: #c33;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  text-align: center;
}

.admin-dashboard-login-error.show {
  display: block;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Main Dashboard Container */
.admin-dashboard-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-dashboard-sidebar {
  width: 280px;
  background: #1a1a1a;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.admin-dashboard-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard-sidebar-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.admin-dashboard-sidebar-header h2 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.admin-dashboard-sidebar-nav {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}

.admin-dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #999;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 8px;
  position: relative;
}

.admin-dashboard-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.admin-dashboard-nav-item.active {
  background: #ffffff;
  color: #0a0a0a;
}

.admin-dashboard-nav-badge {
  margin-left: auto;
  background: #f5576c;
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  min-width: 24px;
  text-align: center;
}

.admin-dashboard-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-dashboard-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}

.admin-dashboard-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.admin-dashboard-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-dashboard-user-details {
  flex: 1;
  min-width: 0;
}

.admin-dashboard-user-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dashboard-user-role {
  display: block;
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-dashboard-logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-dashboard-logout-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.admin-dashboard-main {
  flex: 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-dashboard-topbar {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-dashboard-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-dashboard-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #3a3a3a;
}

.admin-dashboard-page-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.admin-dashboard-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-dashboard-live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(67, 233, 123, 0.1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #43e97b;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #43e97b;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.admin-dashboard-refresh {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
}

.admin-dashboard-refresh:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(180deg);
}

/* Content Wrapper */
.admin-dashboard-content-wrapper {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.admin-dashboard-section {
  display: none;
}

.admin-dashboard-section.active {
  display: block;
}

/* Region Badge */
.admin-dashboard-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.region-icon {
  font-size: 24px;
}

.region-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

/* Stats Grid */
.admin-dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.admin-dashboard-stat-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-dashboard-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.website-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.stat-card-title h3 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.stat-card-title p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.stat-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 12px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.stat-change {
  font-size: 12px;
  font-weight: 700;
  color: #999;
}

.stat-change.positive {
  color: #43e97b;
}

.stat-change.negative {
  color: #f5576c;
}

/* Charts Grid */
.admin-dashboard-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.admin-dashboard-chart-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-card-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.chart-period-select {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #2a2a2a;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.chart-card-body {
  position: relative;
  height: 250px;
}

/* Activity Card */
.admin-dashboard-activity-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.activity-card-header h3 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.activity-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.activity-time {
  font-size: 12px;
  color: #999;
}

/* Messages Section */
.admin-dashboard-messages-container {
  display: flex;
  height: calc(100vh - 100px);
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.admin-dashboard-messages-sidebar {
  width: 320px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
}

.messages-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.messages-sidebar-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.btn-new-message {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-new-message:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.messages-search {
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
}

.messages-search svg {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.messages-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 14px;
}

.messages-search input::placeholder {
  color: #666;
}

.messages-users-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}

.message-user-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.message-user-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.message-user-item.active {
  background: #ffffff;
  color: #0a0a0a;
}

.message-user-item.active .message-user-name,
.message-user-item.active .message-user-preview {
  color: #0a0a0a;
}

.message-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.message-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-user-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
}

.message-user-status-dot.online {
  background: #43e97b;
}

.message-user-status-dot.offline {
  background: #ccc;
}

.message-user-details {
  flex: 1;
  min-width: 0;
}

.message-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-user-preview {
  font-size: 12px;
  color: #999;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.message-user-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.message-user-time {
  font-size: 11px;
  color: #999;
}

.message-user-unread {
  background: #f5576c;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* Chat Area */
.admin-dashboard-chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #1a1a1a;
}

.chat-area-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.chat-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-user-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.chat-user-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #999;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-dot.online {
  background: #43e97b;
}

.status-dot.offline {
  background: #ccc;
}

.chat-options-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #666;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.chat-options-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #0a0a0a;
}

.chat-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  gap: 16px;
}

.chat-empty-state svg {
  opacity: 0.3;
}

.chat-empty-state p {
  font-size: 16px;
  margin: 0;
}

.chat-message {
  display: flex;
  gap: 12px;
  max-width: 70%;
  animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-message.sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.chat-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-message-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-message-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message.sent .chat-message-bubble {
  background: #ffffff;
  color: #0a0a0a;
  border-bottom-right-radius: 4px;
}

.chat-message.received .chat-message-bubble {
  background: #2a2a2a;
  color: #ffffff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chat-message-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.chat-message-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  font-size: 12px;
  text-decoration: none;
  color: #0c0c0c;
  transition: all 0.3s ease;
}

.chat-message-file:hover {
  background: rgba(0, 0, 0, 0.1);
}

.chat-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #999;
  padding: 0 4px;
}

.chat-message-time {
  margin: 0;
}

.chat-message-status {
  display: flex;
  align-items: center;
}

.chat-message-status svg {
  width: 16px;
  height: 16px;
}

.chat-message-status.sent svg {
  color: #999;
}

.chat-message-status.delivered svg {
  color: #999;
}

.chat-message-status.read svg {
  color: #667eea;
}

.chat-input-container {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1a1a;
}

.chat-input-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-attach-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.chat-attach-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  background: #2a2a2a;
  color: #ffffff;
  transition: all 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.chat-input::placeholder {
  color: #666;
}

.chat-send-btn {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  color: #0a0a0a;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.chat-files-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-file-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 8px;
  font-size: 12px;
}

.chat-file-preview-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #f5576c;
  padding: 0;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Settings Section */
.admin-dashboard-settings-container {
  max-width: 1200px;
}

.settings-section-header h2 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 32px 0;
}

.settings-section-header p {
  color: #999 !important;
}

.font-preview p {
  color: #ffffff !important;
}

.font-preview p[style*="color: #666"] {
  color: #999 !important;
}

/* Lumi AI Section */
.admin-dashboard-lumi-container {
  max-width: 1200px;
}

.lumi-header-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.lumi-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.lumi-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumi-header-info {
  flex: 1;
}

.lumi-header-info h2 {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.lumi-header-info > p {
  font-size: 16px;
  color: #999;
  margin: 0 0 16px 0;
}

.lumi-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.lumi-region-badge span:first-child {
  font-size: 20px;
}

.lumi-chat-container {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.lumi-welcome-message {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.lumi-welcome-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 24px;
  border: 3px solid rgba(255, 255, 255, 0.1);
}

.lumi-welcome-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumi-welcome-content h3 {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.lumi-welcome-content h3 span {
  color: #ffffff;
  font-weight: 900;
}

.lumi-welcome-content > p {
  font-size: 16px;
  color: #999;
  margin: 0 0 32px 0;
  max-width: 600px;
}

.lumi-quick-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
}

.lumi-topic-btn {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lumi-topic-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lumi-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 500px;
  margin-bottom: 20px;
}

.lumi-message {
  display: flex;
  gap: 12px;
  animation: lumiMessageSlide 0.3s ease;
}

@keyframes lumiMessageSlide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lumi-message-user {
  justify-content: flex-end;
}

.lumi-message-lumi {
  justify-content: flex-start;
}

.lumi-message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #2a2a2a;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.lumi-message-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumi-message-content {
  max-width: 70%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lumi-message-user .lumi-message-content {
  align-items: flex-end;
}

.lumi-message-lumi .lumi-message-content {
  align-items: flex-start;
}

.lumi-message-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.6;
  word-wrap: break-word;
}

.lumi-message-user .lumi-message-bubble {
  background: #ffffff;
  color: #0a0a0a;
  border-bottom-right-radius: 4px;
}

.lumi-message-lumi .lumi-message-bubble {
  background: #2a2a2a;
  color: #ffffff;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lumi-message-time {
  font-size: 11px;
  color: #666;
  padding: 0 4px;
}

.lumi-input-container {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.lumi-chat-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lumi-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.lumi-input:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.lumi-input::placeholder {
  color: #666;
}

.lumi-send-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: none;
  color: #0a0a0a;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lumi-send-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 24px;
}

.settings-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.settings-card-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.settings-card-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-profile-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.profile-avatar-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 4px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-profile-avatar-upload {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-profile-avatar-upload:hover {
  background: #667eea;
  color: white;
}

.settings-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.settings-form-group input {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  background: #2a2a2a;
  color: #ffffff;
  transition: all 0.3s ease;
}

.settings-form-group input:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.settings-form-group input[readonly] {
  background: #1a1a1a;
  cursor: not-allowed;
  opacity: 0.6;
}

.settings-form-group small {
  font-size: 12px;
  color: #999;
}

.btn-settings-save {
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-settings-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.settings-region-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 20px;
}

.region-info-icon {
  font-size: 48px;
}

.region-info-details h4 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.region-info-details p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-dashboard-sidebar {
    transform: translateX(-100%);
  }
  
  .admin-dashboard-sidebar.active {
    transform: translateX(0);
  }
  
  .admin-dashboard-main {
    margin-left: 0;
  }
  
  .admin-dashboard-sidebar-toggle {
    display: block;
  }
  
  .admin-dashboard-stats-grid,
  .admin-dashboard-charts-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-dashboard-messages-container {
    flex-direction: column;
    height: auto;
  }
  
  .admin-dashboard-messages-sidebar {
    width: 100%;
    max-height: 300px;
  }
}

@media (max-width: 768px) {
  .admin-dashboard-content-wrapper {
    padding: 16px;
  }
  
  .stat-row {
    grid-template-columns: 1fr;
  }
  
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Region-specific colors */
.region-turkey .region-icon::before { content: "🇹🇷"; }
.region-poland .region-icon::before { content: "🇵🇱"; }
.region-uae .region-icon::before { content: "🇦🇪"; }
.region-usa .region-icon::before { content: "🇺🇸"; }
.region-all .region-icon::before { content: "🌍"; }

/* Logos Section */
.logos-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.logo-category-section {
  margin-bottom: 32px;
}

.logo-category-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.logos-grid-inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.logo-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.logo-preview {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-info h3 {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.logo-info p {
  font-size: 14px;
  color: #999;
  margin: 0 0 16px 0;
}

.btn-logo-download {
  width: 100%;
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-logo-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

/* Fonts Section */
.fonts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 24px;
}

.font-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.font-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.font-card-header h3 {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.font-badge {
  padding: 6px 12px;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.font-preview {
  padding: 24px;
  background: #0a0a0a;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.font-link-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.font-link-container label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.font-link-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.font-link-box code {
  flex: 1;
  font-size: 12px;
  color: #ffffff;
  word-break: break-all;
  font-family: 'Courier New', monospace;
}

.btn-copy-link {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-copy-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Colors Section */
.colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.color-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.color-preview {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.color-info {
  padding: 16px;
}

.color-info h3 {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.color-code {
  font-size: 14px;
  font-weight: 700;
  color: #999;
  font-family: 'Courier New', monospace;
  margin: 0 0 8px 0;
}

.color-shades {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}

.color-shade {
  flex: 1;
  height: 32px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-copy-color {
  width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.btn-copy-color:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Notes Section */
.notes-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.notes-editor-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.notes-editor-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.notes-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  background: #2a2a2a;
  color: #ffffff;
  transition: all 0.3s ease;
}

.notes-input:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.notes-input::placeholder {
  color: #666;
}

.notes-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 16px;
  background: #2a2a2a;
  color: #ffffff;
  resize: vertical;
  transition: all 0.3s ease;
}

.notes-textarea:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.notes-textarea::placeholder {
  color: #666;
}

.btn-notes-add {
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-notes-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.notes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.note-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.note-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.note-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.note-item-title {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
}

.note-item-delete {
  background: rgba(245, 87, 108, 0.1);
  border: none;
  border-radius: 8px;
  padding: 6px;
  cursor: pointer;
  color: #f5576c;
  transition: all 0.3s ease;
}

.note-item-delete:hover {
  background: #f5576c;
  color: white;
}

.note-item-content {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin: 0 0 12px 0;
  white-space: pre-wrap;
}

.note-item-time {
  font-size: 12px;
  color: #999;
}

/* Goals Section */
.goals-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.goals-add-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.goals-add-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.goals-input,
.goals-textarea,
.goals-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  background: #2a2a2a;
  color: #ffffff;
  transition: all 0.3s ease;
  font-family: inherit;
}

.goals-input:focus,
.goals-textarea:focus,
.goals-select:focus {
  outline: none;
  border-color: #ffffff;
  background: #333;
}

.goals-input::placeholder,
.goals-textarea::placeholder {
  color: #666;
}

.goals-date-priority {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.goals-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goals-form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.btn-goals-add {
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-goals-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
  background: #f0f0f0;
}

.goals-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.goal-stat-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 16px;
}

.goal-stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-stat-content h3 {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1;
}

.goal-stat-content p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.goals-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 16px;
}

.goal-item {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.goal-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.goal-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.goal-item-title {
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  flex: 1;
}

.goal-item-priority {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 12px;
}

.goal-item-priority.low {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.goal-item-priority.medium {
  background: rgba(255, 165, 0, 0.1);
  color: #ffa500;
}

.goal-item-priority.high {
  background: rgba(245, 87, 108, 0.1);
  color: #f5576c;
}

.goal-item-description {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.goal-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.goal-item-date {
  font-size: 12px;
  color: #999;
}

.goal-item-actions {
  display: flex;
  gap: 8px;
}

.goal-item-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.goal-item-btn.complete {
  background: rgba(67, 233, 123, 0.1);
  color: #43e97b;
}

.goal-item-btn.complete:hover {
  background: #43e97b;
  color: white;
}

.goal-item-btn.delete {
  background: rgba(245, 87, 108, 0.1);
  color: #f5576c;
}

.goal-item-btn.delete:hover {
  background: #f5576c;
  color: white;
}

.goal-item.completed {
  opacity: 0.6;
}

.goal-item.completed .goal-item-title {
  text-decoration: line-through;
}

/* Files Section - Shared Files */
.file-upload-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.file-upload-header h3 {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.file-upload-header p {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.file-upload-body {
  margin-top: 20px;
}

.btn-upload-files {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-upload-files:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.file-upload-preview {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-upload-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 14px;
  color: #ffffff;
}

.file-upload-success {
  color: #43e97b;
  font-weight: 700;
}

.files-list-container {
  margin-top: 30px;
}

.files-search {
  margin-bottom: 24px;
  position: relative;
}

.files-search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.files-search input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #2a2a2a;
  color: #ffffff;
  font-size: 14px;
}

.files-search input::placeholder {
  color: #666;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.files-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.files-empty-state svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.files-empty-state p {
  font-size: 16px;
  color: #999;
}

.file-card {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.file-card:hover {
  background: #222;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.file-card-icon {
  font-size: 40px;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.file-card-content {
  flex: 1;
  min-width: 0;
}

.file-card-name {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-card-meta {
  font-size: 12px;
  color: #999;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-card-actions {
  flex-shrink: 0;
}

.btn-download-file {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-download-file:hover {
  background: #ffffff;
  color: #0a0a0a;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .files-grid {
    grid-template-columns: 1fr;
  }
}
