/* Fix dashboard menu width */
.listpgWraper .row {
  display: flex;
  flex-wrap: wrap;
}

.listpgWraper .col-lg-3 {
  flex: 0 0 auto;
  width: 25%;
}

.listpgWraper .col-lg-9 {
  flex: 0 0 auto;
  width: 75%;
}

@media (max-width: 991px) {
  .listpgWraper .col-md-4 {
    width: 33.333333%;
  }

  .listpgWraper .col-md-8 {
    width: 66.666667%;
  }
}

.password-input-wrapper {
  position: relative;
}

.password-input-wrapper .toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  font-size: 18px;
  transition: color 0.3s ease;
  z-index: 10;
}

.password-input-wrapper .toggle-password:hover {
  color: #007bff;
}

.password-input-wrapper .toggle-password.active {
  color: #007bff;
}

.password-input-wrapper .form-control {
  padding-right: 45px;
}

.security-tips {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.security-tips h5 {
  color: #495057;
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.security-tips ul li {
  padding: 8px 0;
  color: #6c757d;
  font-size: 14px;
}

.security-tips ul li i {
  margin-right: 10px;
  font-size: 12px;
}

.alert {
  margin-bottom: 20px;
}

.userccount .formpanel {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.formrow {
  margin-bottom: 25px;
}

.formrow label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
  display: block;
}

.formrow .text-danger {
  color: #dc3545;
}

.formrow .form-control {
  height: 45px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
}

.formrow .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e9ecef;
  margin-top: 10px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.action-btn:hover::before {
  width: 300px;
  height: 300px;
}

.action-btn i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.action-btn span {
  position: relative;
  z-index: 1;
}

.action-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  box-shadow: 0 4px 15px 0 rgba(102, 126, 234, 0.4);
}

.action-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(102, 126, 234, 0.6);
  color: #fff;
}

.action-btn-primary:hover i {
  transform: rotate(15deg) scale(1.1);
}

.action-btn-primary:active {
  transform: translateY(0);
}

.action-btn-secondary {
  background: #fff;
  color: #6c757d;
  border: 2px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-btn-secondary:hover {
  background: #f8f9fa;
  border-color: #dee2e6;
  color: #495057;
  transform: translateX(-3px);
}

.action-btn-secondary:hover i {
  transform: translateX(-3px);
}

@media (max-width: 576px) {
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
  }
}

.myads h3 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}
