.modal.fade .modal-dialog {
	transform: translateY(-50px); 
	transition: all 0.5s ease-in-out; 
} 

.modal.show .modal-dialog {
	transform: translateY(0); 
} 

/* Stylish form elements */ #popupModal 
.form-control { 
	border-radius: 10px; 
	box-shadow: 0 0 5px rgba(0,0,0,0.1);
} 
  .modal-content {
    border-radius: 15px;
    padding: 2rem;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 117, 252, 0.6);
    position: relative;
  }
#popupModal .btn-success { 
	border-radius: 20px; 
	padding-left: 20px; 
	padding-right: 20px; 
}

/* Hide close button initially */ 
#closeBtn { 
	display: none; 
} 
  .modal-body h3.title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .modal-body p.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.85;
    text-align: center;
  }
/* Form groups */
  .form-group {
    position: relative;
    margin-bottom: 1.8rem;
  }

  /* Input icons */
  .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0.7;
    font-size: 1.3rem;
  }

  /* Inputs */
  .form-control {
    border-radius: 10px;
    border: none;
    padding-left: 45px;
    height: 45px;
    font-size: 1rem;
    background-color: rgba(255 255 255 / 0.15);
    color: #fff;
    transition: background-color 0.3s ease;
  }
  .form-control::placeholder {
    color: #eee;
  }
  .form-control:focus {
    background-color: rgba(255 255 255 / 0.3);
    outline: none;
    box-shadow: 0 0 8px #8a33ffcc;
    color: #fff;
  }

  /* Textarea */
  textarea.form-control {
    height: 90px;
    resize: none;
    padding-top: 10px;
  }

.custom-close {
  position: absolute;
  top: 5px;           /* distance from top */
  right: 10px;         /* distance from right */
  
  color: red;          /* red Font Awesome icon */
  font-size: 2rem;   /* icon size */
  display: flex;       /* enables flexbox */
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  cursor: pointer;
  z-index: 9999;
}

  
	.form-btn .btn {
margin-top:5%;
    display: block;
    width: 100%;
    background-color: #ff6f61;
    border: none;
    border-radius: 30px;
    padding: 12px 0;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  .form-btn .btn:hover {
    background-color: #e65b50;
  }
