/* Account Page Styles */
.account-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.account-section {
  margin-bottom: 40px;
}

.account-section h2 {
  color: #13294b;
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 600;
}

/* Personal Information Section */
.personal-info-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.profile-picture-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.profile-picture-container {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #c8102e;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.profile-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-placeholder {
  font-size: 3rem;
  color: #b1b3b3;
}

.change-picture-btn {
  background: linear-gradient(135deg, #c8102e 0%, #13294b 100%);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.change-picture-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.user-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 600;
  color: #13294b;
  font-size: 1rem;
}

.info-value {
  color: #888;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-crown {
  color: #c8102e;
}

/* Account Actions Section */
.account-actions-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.actions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-button {
  background: linear-gradient(135deg, #c8102e 0%, #13294b 100%);
  color: #ffffff;
  border: none;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.action-button.danger {
  background: linear-gradient(135deg, #c8102e 0%, #000000 100%);
}

.action-button.danger:hover {
  background: linear-gradient(135deg, #a00e26 0%, #000000 100%);
}

/* Modal Styles */
.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: 1000;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  color: #13294b;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #b1b3b3;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-button:hover {
  color: #c8102e;
}

.modal-body {
  padding: 30px;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

.modal-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #13294b;
}

.modal-form input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.modal-form input:focus {
  outline: none;
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.save-button {
  background: linear-gradient(135deg, #c8102e 0%, #13294b 100%);
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.save-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.save-button.danger {
  background: linear-gradient(135deg, #c8102e 0%, #000000 100%);
}

.cancel-button {
  background: #e9ecef;
  color: #13294b;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
}

.cancel-button:hover {
  background: #dee2e6;
  transform: translateY(-1px);
}

.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.message.error {
  background-color: #f8d7da;
  border: 1px solid #f1aeb5;
  color: #721c24;
}

.message.success {
  background-color: #d1eddb;
  border: 1px solid #badbcc;
  color: #0f5132;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .account-content {
    padding: 0 15px;
  }
  
  .personal-info-card, .account-actions-card {
    padding: 25px;
  }
  
  .profile-picture-container {
    width: 100px;
    height: 100px;
  }
  
  .profile-placeholder {
    font-size: 2.5rem;
  }
  
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    text-align: left;
  }
  
  .modal-content {
    width: 95%;
  }
  
  .modal-header, .modal-body {
    padding: 20px;
  }
  
  .form-buttons {
    flex-direction: column;
  }
}