   @font-face {
        font-family: 'Yekan';
        src: url('/font/Yekan.woff2') format('woff2'),
             url('/font/Yekan.woff') format('woff'),
             url('/font/Yekan.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
    }

    :root {
      --primary-color: #4CAF50;
      --primary-dark: #388E3C;
      --secondary-color: #FF9800;
      --text-color: #333;
      --light-gray: #f5f5f5;
      --white: #ffffff;
      --danger: #f44336;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Yekan';
    }
    
    body {
      background-color: var(--light-gray);
      color: var(--text-color);
      line-height: 1.6;
      padding: 0;
      margin: 0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }
    
    .app-container {
      max-width: 100%;
      width: 100%;
      margin: 0 auto;
      flex: 1;
      display: flex;
      flex-direction: column;
      background-color: var(--white);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .header {
      background-color: var(--primary-color);
      color: white;
      padding: 15px;
      text-align: center;
      position: relative;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .header h1 {
      font-size: 1.5rem;
      font-weight: 500;
      margin: 0;
    }
    
    .content {
      padding: 20px;
      flex: 1;
    }
    
    .card {
      background-color: var(--white);
      border-radius: 12px;
      padding: 20px;
      margin-bottom: 20px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
    }
    
    .form-group {
      margin-bottom: 20px;
    }
    
    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--text-color);
    }
    
    select, input {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #2a6ab2;
      border-radius: 12px;
      font-size:14px;
      background-color: var(--white);
      transition: border 0.3s;
    }
    
    select:focus, input:focus {
      border-color: var(--primary-color);
      outline: none;
    }
    
    .slots-container {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 10px;
      margin-top: 20px;
    }
    
    .slot {
      background-color: var(--primary-color);
      color: white;
      padding: 12px;
      border-radius: 8px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s;
      font-weight: 500;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .slot:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
    }
    
    .slot.selected {
      background-color: var(--secondary-color);
    }
    
    .slot.reserved {
      background-color: #e0e0e0;
      color: #9e9e9e;
      cursor: not-allowed;
    }
    
    .empty-state {
      text-align: center;
      padding: 30px;
      color: #757575;
    }
    
    .empty-state i {
      font-size: 50px;
      margin-bottom: 15px;
      color: #e0e0e0;
    }
    
    .loading {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    
    .spinner {
      width: 40px;
      height: 40px;
      border: 4px solid rgba(0, 0, 0, 0.1);
      border-radius: 50%;
      border-top-color: var(--primary-color);
      animation: spin 1s ease-in-out infinite;
    }
    
    @keyframes spin {
      to { transform: rotate(360deg); }
    }
    
    /* استایل برای حالت PWA */
    @media all and (display-mode: standalone) {
      .header {
        padding-top: 30px;
      }
    }
    
    /* انیمیشن‌ها */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .slot {
      animation: fadeIn 0.3s ease-out forwards;
    }
    
    /* رزپانسیو برای تبلت و دسکتاپ */
    @media (min-width: 768px) {
      .app-container {
        max-width: 500px;
        margin: 20px auto;
        border-radius: 16px;
        overflow: hidden;
        min-height: auto;
      }
    }
    
    /* استایل‌های جدید برای مراحل چندگانه */
    .step {
      display: none;
      animation: fadeIn 0.5s ease;
    }
    
    .step.active {
      display: block;
    }
    
    .progress-bar {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      padding: 0 10px;
    }
    
    .progress-step {
      text-align: center;
      flex: 1;
      position: relative;
    }
    
    .progress-step .step-number {
      width: 30px;
      height: 30px;
      background-color: #ddd;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 5px;
      color: #666;
      font-weight: bold;
    }
    
    .progress-step .step-title {
      font-size: 12px;
      color: #2a6ab2;
    }
    
    .progress-step.active .step-number {
      background-color: var(--primary-color);
      color: white;
    }
    
    .progress-step.active .step-title {
      color: var(--primary-color);
      font-weight: bold;
    }
    
    .progress-step.completed .step-number {
      background-color: var(--primary-dark);
      color: white;
    }
    
    .progress-step.completed .step-title {
      color: var(--primary-dark);
    }
    
    .progress-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 15px;
      left: 50%;
      width: 100%;
      height: 2px;
      background-color: #ddd;
      z-index: -1;
    }
    
    .progress-step.completed:not(:last-child)::after {
      background-color: var(--primary-dark);
    }
    
    .navigation-buttons {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
    }
    
    .btn {
      padding: 12px 20px;
      border-radius: 8px;
      border: none;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      color: white;
    }
    
    .btn-primary:hover {
      background-color: var(--primary-dark);
    }
    
    .btn-secondary {
      background-color: #e0e0e0;
      color: #333;
    }
    
    .btn-secondary:hover {
      background-color: #d0d0d0;
    }
    
    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    
    .hidden {
      display: none;
    }
    
    .radio-group {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .radio-option {
      display: flex;
      align-items: center;
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .radio-option:hover {
      border-color: var(--primary-color);
    }
    
    .radio-option input {
      width: auto;
      margin-left: 10px;
    }
    
    .error-message {
      color: var(--danger);
      font-size: 14px;
      margin-top: 5px;
      display: none;
    }
    
    input.error {
      border-color: var(--danger);
    }