/*--------------------------------------------------------------
# Profile Section - User Profile Pages
--------------------------------------------------------------*/
.profile-section {
  background-color: #f8f9fa;
  min-height: calc(100vh - 200px);
  padding-top: 120px !important;
}

/* Profile Sidebar */
.profile-sidebar {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.profile-header {
  background: linear-gradient(135deg, #37596d 0%, #4c8fb7 100%);
  padding: 30px 20px;
  text-align: center;
  color: #fff;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar i {
  font-size: 50px;
  color: #fff;
}

.profile-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #fff;
}

.profile-email {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.profile-nav {
  padding: 10px 0;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  color: #444;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.profile-nav-item i {
  font-size: 20px;
  margin-right: 12px;
  width: 24px;
  text-align: center;
  color: #37596d;
}

.profile-nav-item span {
  font-size: 14px;
  font-weight: 500;
}

.profile-nav-item:hover {
  background-color: #f8f9fa;
  color: #37596d;
  border-left-color: #37596d;
}

.profile-nav-item.active {
  background-color: #e8f4f8;
  color: #37596d;
  border-left-color: #37596d;
  font-weight: 600;
}

/* Profile Content */
.profile-content {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.profile-content-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.profile-content-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #37596d;
  margin-bottom: 5px;
}

.profile-content-header p {
  color: #6c757d;
  margin: 0;
}

/* Profile Form */
.profile-form .form-label {
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  font-size: 14px;
}

.profile-form .form-label i {
  color: #37596d;
}

.profile-form .form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.profile-form .form-control:focus {
  border-color: #37596d;
  box-shadow: 0 0 0 0.2rem rgba(55, 89, 109, 0.15);
}

.profile-form .form-group {
  margin-bottom: 20px;
}

.form-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  gap: 15px;
}

.form-actions .btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-actions .btn-primary {
  background-color: #37596d;
  border-color: #37596d;
}

.form-actions .btn-primary:hover {
  background-color: #2a4555;
  border-color: #2a4555;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(55, 89, 109, 0.3);
}

.form-actions .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.form-actions .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 991px) {
  .profile-sidebar {
    margin-bottom: 30px;
  }

  .profile-nav {
    display: flex;
    flex-wrap: wrap;
  }

  .profile-nav-item {
    flex: 1 1 50%;
    min-width: 150px;
  }
}

@media (max-width: 767px) {
  .profile-section {
    padding-top: 100px !important;
  }

  .profile-content {
    padding: 20px;
  }

  .profile-content-header h2 {
    font-size: 24px;
  }

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

  .form-actions .btn {
    width: 100%;
  }

  .profile-nav-item {
    flex: 1 1 100%;
  }
}

/* Alert Styles */
.alert {
  border-radius: 8px;
  border: none;
  padding: 15px 20px;
  margin-bottom: 25px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.alert i {
  font-size: 18px;
}
