/* Modern Account Page Styles */

/* Page Layout */
.account-page-area {
  background: linear-gradient(135deg, #f8fffe 0%, #f1f8f1 100%);
  min-height: calc(100vh - 200px);
}

/* Header Section */
.account-header {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(118, 167, 19, 0.08);
  border: 1px solid rgba(118, 167, 19, 0.1);
}

.page-title {
  color: #2c3e50;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #76a713, #5e8a0e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  color: #7f8c8d;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.user-info-badge {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #76a713, #5e8a0e);
  padding: 20px 25px;
  border-radius: 15px;
  color: white;
  box-shadow: 0 4px 15px rgba(118, 167, 19, 0.3);
}

.user-avatar {
  margin-right: 15px;
}

.user-avatar i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.user-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: white;
}

.user-email {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Account Cards */
.account-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(118, 167, 19, 0.08);
  border: 1px solid rgba(118, 167, 19, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: fit-content;
}

.account-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(118, 167, 19, 0.15);
}

.account-card .card-header {
  background: linear-gradient(135deg, #f8fffe 0%, #f1f8f1 100%);
  padding: 25px 30px;
  border-bottom: 1px solid rgba(118, 167, 19, 0.1);
  display: flex;
  align-items: center;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #76a713, #5e8a0e);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: white;
  font-size: 1.2rem;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
  flex: 1;
}

.card-subtitle {
  color: #7f8c8d;
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.account-card .card-body {
  padding: 30px;
}

/* Profile Overview */
.profile-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #ecf0f1;
}

.profile-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-label {
  font-weight: 600;
  color: #34495e;
  font-size: 0.95rem;
}

.info-value {
  color: #7f8c8d;
  font-size: 0.95rem;
  text-align: right;
  max-width: 60%;
  word-wrap: break-word;
}

/* Quick Actions */
.quick-action-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #ecf0f1;
}

.quick-action-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-action-item:not(.disabled):hover {
  color: #76a713;
  transform: translateX(5px);
}

.quick-action-item.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.quick-action-item.disabled:hover {
  transform: none;
  color: inherit;
}

.quick-action-item i:first-child {
  width: 20px;
  margin-right: 15px;
  color: #76a713;
}

.quick-action-item span:not(.coming-soon-badge) {
  flex: 1;
  font-weight: 500;
  color: #34495e;
}

.quick-action-item i:last-child {
  color: #bdc3c7;
  font-size: 0.8rem;
}

/* Coming Soon Badge */
.coming-soon-badge {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: 8px;
  white-space: nowrap;
}

/* Modern Form Styles */
.modern-form {
  margin-top: 10px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #34495e;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.modern-input {
  width: 100%;
  padding: 15px 50px 15px 15px;
  border: 2px solid #ecf0f1;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.modern-input:focus {
  outline: none;
  border-color: #76a713;
  background: white;
  box-shadow: 0 0 0 4px rgba(118, 167, 19, 0.1);
}

.input-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdc3c7;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-group:focus-within .input-icon {
  color: #76a713;
}

/* Select Styles */
.select-wrapper {
  position: relative;
}

.modern-select {
  width: 100%;
  padding: 15px 45px 15px 15px;
  border: 2px solid #ecf0f1;
  border-radius: 12px;
  font-size: 1rem;
  background: #fafbfc;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
}

.modern-select:focus {
  outline: none;
  border-color: #76a713;
  background: white;
  box-shadow: 0 0 0 4px rgba(118, 167, 19, 0.1);
}

.select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #bdc3c7;
  font-size: 0.8rem;
  pointer-events: none;
  transition: color 0.3s ease;
}

.select-wrapper:focus-within .select-arrow {
  color: #76a713;
}

/* Modern Buttons */
.modern-btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.primary-btn {
  background: linear-gradient(135deg, #76a713, #5e8a0e);
  color: white;
  box-shadow: 0 4px 15px rgba(118, 167, 19, 0.3);
}

.primary-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(118, 167, 19, 0.4);
}

.primary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.secondary-btn {
  background: #ecf0f1;
  color: #34495e;
  border: 2px solid #bdc3c7;
}

.secondary-btn:hover {
  background: #bdc3c7;
  color: white;
  transform: translateY(-2px);
}

.modern-btn.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in-out;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsive Design */
@media (max-width: 991px) {
  .account-header {
    text-align: center;
    padding: 25px;
  }
  
  .user-info-badge {
    justify-content: center;
    margin-top: 20px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .account-card .card-header {
    padding: 20px 25px;
  }
  
  .account-card .card-body {
    padding: 25px;
  }
  
  .form-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .account-page-area {
    padding: 40px 0;
  }
  
  .account-header {
    border-radius: 15px;
    padding: 20px;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .user-info-badge {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .user-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .account-card {
    border-radius: 15px;
    margin-bottom: 20px;
  }
  
  .account-card .card-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .card-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .account-card .card-body {
    padding: 20px;
  }
  
  .modern-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .profile-info-item {
    flex-direction: column;
    text-align: center;
    padding: 12px 0;
  }
  
  .info-value {
    margin-top: 5px;
    max-width: 100%;
    text-align: center;
  }
}

/* Simplified styling - no dark mode for now */

/* Animation for smooth transitions */
* {
  box-sizing: border-box;
}

.account-page-area * {
  transition: all 0.3s ease;
}

/* Micro-interactions */
.account-card {
  animation: slideInUp 0.6s ease-out;
}

.account-card:nth-child(1) { animation-delay: 0.1s; }
.account-card:nth-child(2) { animation-delay: 0.2s; }
.account-card:nth-child(3) { animation-delay: 0.3s; }

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

.modern-input:focus + .input-icon,
.modern-select:focus + .select-arrow {
  transform: translateY(-50%) scale(1.1);
}

.profile-info-item:hover {
  background: rgba(118, 167, 19, 0.05);
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 8px;
}

.card-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Loading states */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}