#TextSection h4 {
  background: linear-gradient(to right, #007BFF, #00C6FF);
  color: white;
  padding: 5px 15px;
  border-radius: 12px;
  font-size: 1.2em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top:-10px;
}

#TextSection h4 i {
  font-size: 1.2em;
  color: white;
}

#FormSection {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
#FormSection.visible {
    display: block;
    opacity: 1;
}
  
.form-row {
    display: flex;
    align-items: center;
    justify-content:space-between;
    margin-top: 10px;
    direction: rtl;
}

.video-support-link {
    background-color: #f0f8ff; /* رنگ بک‌گراند آبی روشن */
    color: #003366; /* رنگ متن */
    font-weight: bold;
    text-align:center; 
    text-decoration:none;
    padding: 8px 12px;
    border-radius: 8px;
    white-space: nowrap;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video-support-link i {
    margin-left: 8px;
    font-size: 16px;
}

.video-support-link:hover {
    background-color: #e0f0ff; /* رنگ بک‌گراند هنگام هاور */
}

    
.welcome-section form {
    padding: 0px;
    margin-bottom:0px;
    margin-top: -22px;
    width: auto;}

.form-row input[type="text"] {
    flex: 1;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;}
    
.form-row input[type="number"]{
    flex: 1;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    text-align:center;
    max-width:100px;}
    
.form-row select {
    flex: 1;
    padding: 6px;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    text-align:center;}
    
#loadingBox {
    padding: 10px 15px;
    margin: 15px auto 20px auto;
    max-width: 300px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
    line-height: 1.5;
    color: #0056b3; /* آبی ملایم و حرفه‌ای */
    font-weight: 700;
    text-align: center;
    background: rgba(0, 86, 179, 0.1); /* پس‌زمینه شفاف آبی */
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
    animation: fadeIn 0.4s ease-in-out forwards;
    transition: opacity 0.4s ease-in-out;
   }

/* انیمیشن ملایم محو شدن */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#loadingBox.error {
    background: linear-gradient(135deg, #ffe5e5, #ffcccc);
    color: #b20000;
    border: 1px solid #ff4d4d;
}

#loadingBox.success {
    background: linear-gradient(135deg, #e6f7ff, #ccf2ff);
    color: #003366;
    border: 1px solid #80d4ff;
}

#planSelect, #planLabel {
    display: none;
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
}

#planSelect {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

#planSelect:focus {
    border-color: #66afe9;
    outline: none;
    background-color: #ffffff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
    
    
   /* باکس کلی جزئیات پلن */
#planDetails {
  display: none;
  margin-top: 20px;
  padding: 15px;
  border: 2px dashed #66afe9;
  background: #f0faff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease-in-out;
  direction: rtl;
}

/* نوار عنوان بالای جزئیات */
.plan-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 15px;
  font-weight: bold;
  color: #003366;
  border-bottom: 1px solid #b3e0ff;
  padding-bottom: 8px;
}

/* حذف در سمت چپ */
.delete-icon {
  color: crimson;
  text-decoration: none;
  font-size: 18px;
  cursor: pointer;
}

/* عنوان و آیکن در وسط */
.plan-title {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}


/* لیست جزئیات */
#planDetailsList,
#installmentDisplay,
#paymentInfoBox {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* هر مورد از جزئیات */
#planDetailsList li,
#installmentDisplay,
#paymentInfoBox li {
  background-color: #ffffff;
  border: 1px solid #dceeff;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #003366;
  box-shadow: 0 1px 3px rgba(0, 102, 204, 0.05);
  transition: transform 0.2s ease;
}

#planDetailsList li:hover,
#installmentDisplay:hover,
#paymentInfoBox li:hover {
  transform: scale(1.02);
  background-color: #e9f6ff;
}

.payment-method-li {
  background-color: #ffffff;
  border: 1px solid #dceeff;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #003366;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 102, 204, 0.05);
  transition: transform 0.2s ease;
}

.payment-method-li:hover {
  transform: scale(1.02);
  background-color: #e9f6ff;
}

.payment-method-li select {
  padding: 8px;
  font-size: 14px;
  border: 1px solid #b3e0ff;
  border-radius: 6px;
  background-color: #f8fbff;
  color: #003366;
  width: 100%;
  transition: border-color 0.2s;
}

.payment-method-li select:focus {
  outline: none;
  border-color: #66afe9;
  box-shadow: 0 0 4px rgba(102, 175, 233, 0.6);
}
    
.text-success,
.text-danger {
  display: inline-block;
  max-width: 90%;
  margin: 20px auto;
  padding: 5px;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
 }

.text-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.text-danger {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  animation: shake 0.4s ease-in-out;
}

#requestInsertMsg {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px; /* فاصله از دکمه پایین */
  margin-top: 15px;    /* فاصله از بخش بالا */
}

.text-title{
  padding: 5px;
  margin: 0px;
  font-weight: bold;
  font-size: 12px;
  justify-content: center;
}
