* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-green: #00ff88;
  --dark-green: #00cc6a;
  --light-green: #4dffaa;
  --black: #0a0a0a;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --light-gray: #3a3a3a;
  --white: #ffffff;
  --text-light: #e0e0e0;
  --text-dark: #b0b0b0;
  --shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
  --glow: 0 0 20px rgba(0, 255, 136, 0.3);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--medium-gray);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
}

.logo-accent {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-green);
  text-shadow: var(--glow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: var(--primary-green);
  border-color: var(--primary-green);
  box-shadow: var(--glow);
}

.nav-user {
  color: var(--primary-green);
  font-weight: 500;
}

/* Main Content */
.main-content {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  min-height: 80vh;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-main {
  color: var(--white);
  display: block;
}

.title-accent {
  color: var(--primary-green);
  text-shadow: var(--glow);
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.floating-card {
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--primary-green);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: var(--glow);
  animation: pulse 2s infinite;
}

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

.card-content {
  display: flex;
  gap: 2rem;
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-green);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--black);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 255, 136, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--black);
  box-shadow: var(--glow);
}

.btn-success {
  background: linear-gradient(135deg, #00ff88, #00cc6a);
  color: var(--black);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Notification Badge */
.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  background: rgba(26, 26, 26, 0.5);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Auth Pages */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
}

.auth-card {
  background: rgba(42, 42, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-dark);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-light);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: rgba(58, 58, 58, 0.8);
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-group small {
  color: var(--text-dark);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--medium-gray);
}

.auth-footer a {
  color: var(--primary-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

.auth-footer a:hover {
  text-decoration: underline;
  color: var(--light-green);
}

/* Dashboard */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.dashboard-grid {
  display: grid;
  gap: 2rem;
}

.dashboard-card {
  background: rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 2rem;
}

.dashboard-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Notifications Panel */
.notifications-panel {
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.notifications-panel h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.notification-item {
  background: rgba(58, 58, 58, 0.6);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.notification-item:hover {
  background: rgba(58, 58, 58, 0.8);
  border-left-color: var(--primary-green);
}

.notification-item.unread {
  border-left-color: var(--primary-green);
  background: rgba(0, 255, 136, 0.1);
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.notification-type {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.no-notifications {
  text-align: center;
  color: var(--text-dark);
  font-style: italic;
}

/* Request Items */
.requests-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-item {
  background: rgba(58, 58, 58, 0.6);
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.request-item:hover {
  border-color: var(--primary-green);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
}

.request-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.request-header h4 {
  color: var(--white);
  font-size: 1.2rem;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.status-priced {
  background: rgba(0, 123, 255, 0.2);
  color: #007bff;
  border: 1px solid #007bff;
}

.status-paid {
  background: rgba(0, 255, 136, 0.2);
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.status-completed {
  background: rgba(0, 255, 136, 0.3);
  color: var(--primary-green);
  border: 1px solid var(--primary-green);
}

.request-description {
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.request-price {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary-green);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.request-price strong {
  color: var(--primary-green);
  font-size: 1.1rem;
}

.payment-methods {
  margin-top: 0.5rem;
}

.payment-methods p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.payment-methods pre {
  background: rgba(26, 26, 26, 0.8);
  padding: 0.75rem;
  border-radius: 6px;
  color: var(--text-light);
  font-size: 0.9rem;
  white-space: pre-wrap;
}

.payment-status {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.payment-status p {
  color: #ffc107;
  margin: 0;
  font-weight: 500;
}

.leads-download {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary-green);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.leads-download h5 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.download-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.leads-pending {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.leads-pending p {
  color: #ffc107;
  margin: 0;
  font-weight: 500;
}

.request-date {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: var(--text-dark);
}

.empty-state p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Payment Info */
.payment-info {
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid var(--primary-green);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-info p {
  color: var(--primary-green);
  font-size: 1.1rem;
  margin: 0;
}

/* Preview Image */
.preview-container {
  text-align: center;
  margin-top: 1rem;
}

.preview-image {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  border: 2px solid var(--medium-gray);
}

/* Chat Styles */
.chat-container {
  display: flex;
  height: calc(100vh - 80px);
  max-width: 1400px;
  margin: 0 auto;
}

.chat-sidebar {
  width: 350px;
  background: rgba(42, 42, 42, 0.8);
  border-right: 1px solid var(--medium-gray);
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--medium-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  color: var(--white);
  margin: 0;
}

.chat-header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-container {
  padding: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

.search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: rgba(58, 58, 58, 0.8);
  color: var(--white);
  font-size: 0.9rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-green);
}

.conversations-list,
.users-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.conversations-list h4,
.users-list h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.conversation-item,
.user-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.conversation-item:hover,
.user-item:hover {
  background: rgba(58, 58, 58, 0.6);
}

.user-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--black);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dark-gray);
}

.status-dot.online {
  background: var(--primary-green);
}

.status-dot.offline {
  background: var(--text-dark);
}

.conversation-info,
.user-info {
  flex: 1;
  min-width: 0;
}

.conversation-info strong,
.user-info strong {
  color: var(--white);
  display: block;
  margin-bottom: 0.25rem;
}

.last-message {
  color: var(--text-dark);
  font-size: 0.9rem;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-badge {
  background: var(--primary-green);
  color: var(--black);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 0.5rem;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.chat-welcome h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.chat-welcome p {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.welcome-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 600px;
}

.welcome-features .feature {
  text-align: center;
}

.welcome-features .feature span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.chat-window {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chat-window-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--medium-gray);
  background: rgba(42, 42, 42, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.messages-container {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.5);
}

.message {
  margin-bottom: 1rem;
  display: flex;
}

.message.own {
  justify-content: flex-end;
}

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

.message-content {
  max-width: 70%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
}

.message.own .message-content {
  background: var(--primary-green);
  color: var(--black);
}

.message.other .message-content {
  background: rgba(58, 58, 58, 0.8);
  color: var(--white);
}

.message-content p {
  margin: 0 0 0.25rem 0;
  word-wrap: break-word;
}

.message-content small {
  font-size: 0.75rem;
  opacity: 0.7;
}

.message-input-container {
  padding: 1rem;
  border-top: 1px solid var(--medium-gray);
  background: rgba(42, 42, 42, 0.8);
}

.message-form {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.message-input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: rgba(58, 58, 58, 0.8);
  color: var(--white);
  font-size: 1rem;
}

.message-input:focus {
  outline: none;
  border-color: var(--primary-green);
}

/* Admin Panel Improvements */
.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-header h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.admin-stats {
  display: flex;
  gap: 2rem;
}

.stat-card {
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid var(--primary-green);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  min-width: 150px;
}

.stat-card h3 {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: bold;
}

/* Admin Tabs */
.admin-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--medium-gray);
  gap: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 2rem;
  color: var(--text-dark);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--primary-green);
  border-bottom-color: var(--primary-green);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Payment Cards */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}

.payment-card {
  background: rgba(42, 42, 42, 0.8);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.payment-card:hover {
  border-color: var(--primary-green);
  box-shadow: var(--shadow);
}

.payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.payment-header h4 {
  color: var(--white);
  margin: 0;
}

.client-info {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(58, 58, 58, 0.6);
  border-radius: 8px;
}

.client-info p {
  margin: 0.25rem 0;
  color: var(--text-light);
}

.payment-proof {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border-radius: 8px;
  border: 1px solid var(--light-gray);
}

.payment-proof h5 {
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.payment-screenshot {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid var(--medium-gray);
}

.payment-screenshot:hover {
  transform: scale(1.05);
  border-color: var(--primary-green);
}

.payment-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-danger {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: var(--white);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--medium-gray);
  border-radius: 16px;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow);
  animation: modalSlideIn 0.3s ease;
}

.modal-content.large {
  max-width: 600px;
}

.modal-content.image-modal {
  max-width: 80vw;
  max-height: 80vh;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--medium-gray);
}

.modal-header h3 {
  color: var(--white);
  margin: 0;
}

.close {
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--primary-green);
}

.modal form {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.image-container {
  padding: 1rem;
  text-align: center;
}

.modal-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
}

/* Notifications */
.notification {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--white);
  font-weight: 500;
  z-index: 3000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 300px;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  border: 1px solid var(--primary-green);
}

.notification.error {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  border: 1px solid #ff4757;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    padding: 1rem;
  }

  .nav-menu {
    gap: 1rem;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .header-actions {
    justify-content: center;
  }

  .requests-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .admin-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .payments-grid {
    grid-template-columns: 1fr;
  }

  .payment-actions {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .chat-container {
    flex-direction: column;
    height: auto;
  }

  .chat-sidebar {
    width: 100%;
    height: 300px;
  }

  .chat-main {
    height: calc(100vh - 380px);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .dashboard-container,
  .admin-container {
    padding: 1rem;
  }

  .auth-container {
    padding: 1rem;
  }

  .request-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .download-item {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .chat-sidebar {
    height: 250px;
  }

  .chat-main {
    height: calc(100vh - 330px);
  }
}

.no-conversations {
  text-align: center;
  color: var(--text-dark);
  font-style: italic;
  padding: 2rem;
}

.conversations-list {
  min-height: 200px;
}

.users-list {
  min-height: 200px;
}

/* Mejoras para botones deshabilitados */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Mejoras para campos de formulario con error */
.form-group input.error,
.form-group textarea.error {
  border-color: #ff4757;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

/* Indicador de carga en botones */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Mejoras para notificaciones */
.notification {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.notification.success {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: var(--black);
  border: 1px solid var(--primary-green);
}

.notification.error {
  background: linear-gradient(135deg, #ff4757, #ff3742);
  color: var(--white);
  border: 1px solid #ff4757;
}

/* Validación visual de formularios */
.form-group.valid input {
  border-color: var(--primary-green);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-group.invalid input {
  border-color: #ff4757;
  box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}
