
/* ============================================
   FONT FACE - LOCAL VAZIRMATN
   ============================================ */

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('/assets/fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.auth-container {
    max-width: 400px;
    margin: 60px auto;
    padding: 25px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
 
  }

  .auth-container input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;

  }
  
  .auth-container button {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;

  }
  
  .error {
    color: red;
    margin-bottom: 10px;
  }
  .btn-home-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #374151;
    padding: 6px 12px;
    border-radius: 8px;
    transition: 0.2s;
    cursor: pointer;

  }
  
  .btn-home-pro svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
  }
  
  .btn-home-pro:hover {
    background-color: #eef2ff;
    color: #2563eb;
  }
  
  /* برای حالت active (صفحه خانه) */
  .btn-home-pro.active {
    color: #2563eb;
    font-weight: 600;
  }
  /* ============================================ */
/* ALERT MESSAGES                               */
/* ============================================ */

.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.5s ease;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #b7e4c7);
    color: #155724;
    border: 2px solid #28a745;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.25);
}

.alert-success .icon {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

.alert-success .link {
    color: #155724;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.alert-success .link:hover {
    color: #0b2e13;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 2px solid #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.25);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
  