/* استایل‌های اصلی */
body {
    background-color: #1a1a2e;
    color: white;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    height: 100vh;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* استایل‌های کانتینر اصلی */
.container {
    animation: fadeIn 2s ease-in-out;
    background-color: #16213e;
    border: 1px solid #4361ee;
    border-radius: 10px;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    max-width: 600px;
    padding: 20px;
    text-align: center;
    width: 80%;
}

/* استایل‌های بخش اطلاعات */
.info {
    background-color: #0f3460;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 15px;
}

.info p {
    animation: fadeIn 2s ease-in-out;
    align-items: center;
    background-color: #16213e;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 10px;
}

/* استایل‌های اصلی */

.container {
  padding: 20px;
  border-radius: 5px;
  /* سایر استایل‌های مربوط به container */
}

.info {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  /* سایر استایل‌های مربوط به info */
}

/* تم قرمز و مشکی برای حالت غیرفعال */

.disabled-theme {
  background: linear-gradient(135deg, #e94560, #2e0d0d); /* قرمز و مشکی */
  color: white;
}

.disabled-theme .container {
  background-color: rgba(46, 13, 13, 0.8);
  border: 1px solid #e94560;
}

.disabled-theme .info {
  background-color: rgba(46, 13, 13, 0.9);
}

.disabled-theme .info p {
  background-color: rgba(46, 13, 13, 0.6);
}

.disabled-theme a, 
.disabled-theme button {
  background: linear-gradient(90deg, #e94560, #8b0000);
  color: white;
}

.disabled-theme a:hover, 
.disabled-theme button:hover {
  background: linear-gradient(90deg, #8b0000, #e94560);
}


/* استایل‌های وضعیت */
.status {
    color: white;
}

.status-active {
    color: #2ae94a;
}

.status-inactive {
    color: #8a0e23;
}

/* استایل‌های نوار پیشرفت */
.progress-bar {
    align-items: center;
    background-color: #1f305e;
    border-radius: 5px;
    display: flex;
    height: 20px;
    justify-content: center;
    margin: 10px 0;
    overflow: hidden;
    width: 100%;
}

.progress {
    animation: progressAnimation 2s ease-in-out;
    background-color: #4361ee;
    border-radius: 5px;
    height: 100%;
}

/* استایل‌های جزئیات */
.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.detail-item {
    animation: fadeIn 2s ease-in-out;
    background-color: #0f3460;
    border-radius: 10px;
    margin: 5px;
    padding: 10px;
    text-align: center;
    width: 30%;
}

/* استایل‌های لینک‌ها و دکمه‌ها */
a {
    animation: fadeIn 2s ease-in-out;
    background-color: #4361ee;
    border-radius: 5px;
    color: white;
    display: block;
    margin-top: 20px;
    padding: 10px;
    text-decoration: none;
}

a:hover {
    background-color: #3f37c9;
}

button {
    animation: pulse 2s infinite;
    background-color: #4361ee;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
}

button:hover {
    background-color: #3f37c9;
}

/* استایل‌های فوتر */


/* استایل‌های لودر */
.loader {
    align-items: center;
    background-color: #1a1a2e;
    display: flex;
    height: 100vh;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 9999;
}

.spinner {
    animation: spin 2s linear infinite;
    border: 16px solid #16213e;
    border-top: 16px solid #4361ee;
    border-radius: 50%;
    height: 120px;
    width: 120px;
}

/* استایل‌های ورودی */
input[type="text"] {
    animation: slideIn 1s ease-in-out;
    border: 1px solid #4361ee;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes progressAnimation {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
:root {
    --gradient-start: #4cc9f0;
    --gradient-end: #4361ee;
    --shadow-color: rgba(67, 97, 238, 0.3);
  }
  
  body {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    font-family: 'Vazir', sans-serif;
  }
  
  .container {
    background-color: rgba(22, 33, 62, 0.8);
    border: 1px solid var(--gradient-start);
    box-shadow: 0 0 20px var(--shadow-color);
  }
  
  .info {
    background-color: rgba(15, 52, 96, 0.8);
    box-shadow: 0 5px 15px var(--shadow-color);
  }
  
  .info p {
    background-color: rgba(22, 33, 62, 0.6);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .status-active {
    color: var(--gradient-start);
    text-shadow: 0 0 5px var(--gradient-start);
  }
  
  .status-inactive {
    color: #e94560;
    text-shadow: 0 0 5px #e94560;
  }
  
  .progress-bar {
    background-color: rgba(31, 48, 94, 0.6);
    box-shadow: inset 0 0 10px var(--shadow-color);
  }
  
  .progress {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 0 10px var(--gradient-end);
  }
  
  .detail-item {
    background-color: rgba(15, 52, 96, 0.8);
    box-shadow: 0 5px 15px var(--shadow-color);
  }
  
  a, button {
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 5px 15px var(--shadow-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  a:hover, button:hover {
    background: linear-gradient(90deg, var(--gradient-end), var(--gradient-start));
  }
  
  input[type="text"] {
    border: 1px solid var(--gradient-start);
    box-shadow: 0 0 10px var(--shadow-color);
  }
  
  input[type="text"]:focus {
    box-shadow: 0 0 15px var(--gradient-end);
  }
  