/* ===================================
   DEVA Account Page Styles
   =================================== */

.deva-account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background: #f7fdf6;
  min-height: 100vh;
}

/* Breadcrumb */
.deva-account-breadcrumb {
  margin-bottom: 2rem;
}

.deva-breadcrumb {
  font-size: 0.875rem;
  color: #6b7280;
}

.deva-breadcrumb a {
  color: #48733D;
  text-decoration: none;
  transition: color 0.3s ease;
}

.deva-breadcrumb a:hover {
  color: #3a5c2f;
}

/* Top Section Layout */
.deva-account-top-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Profile Card */
.deva-profile-section {
  width: 100%;
}

.deva-profile-card {
  background: #eaf2e5;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deva-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid #48733D;
  object-fit: cover;
}

.deva-profile-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.deva-email {
  font-weight: 600;
  color: #48733D;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}

.deva-description {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Program and Menu Section */
.deva-program-menu-section {
  width: 100%;
}

.deva-program-section {
  background: #eaf2e5;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deva-program-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
}

/* Program Box */
.deva-program-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid #D4E5CE;
  transition: all 0.3s ease;
}

.deva-program-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.deva-program-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.deva-program-info {
  flex: 1;
}

.deva-program-info strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.deva-program-info p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.25rem 0;
}

.deva-program-info small {
  font-size: 0.75rem;
  color: #9ca3af;
}

.deva-program-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #48733D;
  flex-shrink: 0;
}

/* No Program State */
.deva-no-program {
  text-align: center;
  padding: 2rem;
  background: #f8f9fa;
  border: 2px dashed #D4E5CE;
}

.deva-program-placeholder strong {
  display: block;
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.deva-program-placeholder p {
  color: #9ca3af;
  margin-bottom: 1rem;
}

.deva-browse-programs {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #48733D;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.deva-browse-programs:hover {
  background: #3a5c2f;
  transform: translateY(-1px);
}

/* Menu List */
.deva-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deva-menu-list li {
  border-bottom: 1px solid #D4E5CE;
}

.deva-menu-list li:last-child {
  border-bottom: none;
}

.deva-menu-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.deva-menu-list a:hover {
  color: #48733D;
  padding-left: 0.5rem;
}

.deva-icon {
  font-size: 1rem;
  opacity: 0.7;
}

/* Schedule Section */
.deva-schedule-section {
  margin-bottom: 3rem;
}

.deva-schedule-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 2rem 0;
  text-align: center;
}

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

/* Session Cards */
.deva-session-card {
  background: #eaf2e5;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.deva-session-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.deva-session-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1rem 0;
}

.deva-session-card p {
  font-size: 0.875rem;
  color: #374151;
  margin: 0 0 0.75rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deva-edit {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  font-size: 1rem;
}

.deva-edit:hover {
  opacity: 1;
}

/* Call Buttons */
.deva-call-button {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #48733D;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.deva-call-button:hover:not(:disabled) {
  background: #3a5c2f;
  transform: translateY(-1px);
}

.deva-call-button.deva-disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
}

.deva-call-button.deva-completed {
  background: #10b981;
  color: #ffffff;
  cursor: default;
}

/* Footer */
.deva-account-footer {
  text-align: center;
  margin-top: 3rem;
}

.deva-schedule-next {
  background: #48733D;
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(72, 115, 61, 0.3);
}

.deva-schedule-next:hover {
  background: #3a5c2f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(72, 115, 61, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .deva-account-container {
    padding: 1rem;
  }
  
  .deva-account-top-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .deva-profile-card,
  .deva-program-section {
    padding: 1.5rem;
  }
  
  .deva-program-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .deva-program-image {
    width: 80px;
    height: 80px;
  }
  
  .deva-schedule-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .deva-session-card {
    padding: 1.25rem;
  }
  
  .deva-schedule-next {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .deva-account-container {
    padding: 0.75rem;
  }
  
  .deva-profile-card,
  .deva-program-section,
  .deva-session-card {
    padding: 1rem;
  }
  
  .deva-profile-card h2 {
    font-size: 1.5rem;
  }
  
  .deva-schedule-section h3 {
    font-size: 1.5rem;
  }
  
  .deva-program-box {
    padding: 0.75rem;
  }
  
  .deva-menu-list a {
    font-size: 0.8rem;
  }
}

/* Modal Styles */
.deva-calendar-modal,
.deva-scheduling-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.deva-calendar-modal-content,
.deva-scheduling-modal-content {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.deva-calendar-modal-content h3,
.deva-scheduling-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.deva-calendar-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.deva-calendar-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #EBF3E8;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.deva-calendar-option:hover {
  background: #48733D;
  color: #ffffff;
  transform: translateY(-1px);
}

.deva-close-modal,
.deva-cancel-schedule {
  width: 100%;
  padding: 0.75rem;
  background: #e5e7eb;
  color: #374151;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deva-close-modal:hover,
.deva-cancel-schedule:hover {
  background: #d1d5db;
}

/* Scheduling Form */
.deva-scheduling-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.deva-form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.deva-form-group input,
.deva-form-group select,
.deva-form-group textarea {
  padding: 0.75rem;
  border: 2px solid #D4E5CE;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.3s ease;
}

.deva-form-group input:focus,
.deva-form-group select:focus,
.deva-form-group textarea:focus {
  outline: none;
  border-color: #48733D;
  box-shadow: 0 0 0 3px rgba(72, 115, 61, 0.1);
}

.deva-form-group textarea {
  min-height: 80px;
  resize: vertical;
}

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

.deva-schedule-submit {
  flex: 1;
  padding: 0.75rem;
  background: #48733D;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.deva-schedule-submit:hover {
  background: #3a5c2f;
  transform: translateY(-1px);
}

/* Notification Styles */
.deva-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 500;
  z-index: 10001;
  cursor: pointer;
  animation: slideInRight 0.3s ease;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.deva-notification-success {
  background: #10b981;
}

.deva-notification-error {
  background: #ef4444;
}

.deva-notification-warning {
  background: #f59e0b;
}

.deva-notification-info {
  background: #3b82f6;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Modal Styles */
@media (max-width: 480px) {
  .deva-calendar-modal-content,
  .deva-scheduling-modal-content {
    padding: 1.5rem;
    margin: 1rem;
    max-width: none;
    width: auto;
  }
  
  .deva-form-actions {
    flex-direction: column;
  }
  
  .deva-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
