 
  
    .header-container {
      background-color:black;
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;

    }

    .site-brand {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .site-brand h1 {
      margin: 0;
      color: white;
      font-size: 1.8rem;
    }

    nav {
      display: flex;
      gap: 2rem;
      align-items: center;
    }

    nav a {
      color: white;
      text-decoration: none;
      padding: 0.5rem 1rem;
      border-radius: 5px;
      transition: all 0.3s ease;
      font-weight: 500;
    }

    nav a:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
    }

    /* أنماط أزرار المستخدم */
    .user-buttons {
      display: flex;
      gap: 1rem;
      align-items: center;
    }

    .auth-btn {
      padding: 0.6rem 1.5rem;
      border: 2px solid white;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      font-size: 0.9rem;
      text-align: center;
    }

    .login-btn {
      background: transparent;
      color: white;
    }

    .login-btn:hover {
      background: white;
      color: #667eea;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    }

    .register-btn {
      background: white;
      color: #667eea;
    }

    .register-btn:hover {
      background: #f8f9fa;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    }

    /* أنماط للمستخدم المسجل */
    .user-welcome {
      color: white;
      margin: 0;
      font-weight: 500;
    }

    .user-menu {
      position: relative;
      display: inline-block;
    }

    .user-dropdown {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      min-width: 200px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      border-radius: 8px;
      overflow: hidden;
      z-index: 1000;
      margin-top: 0.5rem;
    }

    .user-menu:hover .user-dropdown {
      display: block;
    }

    .user-dropdown a {
      display: block;
      padding: 0.8rem 1rem;
      color: #333;
      text-decoration: none;
      transition: all 0.3s ease;
      border-bottom: 1px solid #f0f0f0;
    }

    .user-dropdown a:hover {
      background: #f8f9fa;
      color: #007bff;
    }

    .user-dropdown a:last-child {
      border-bottom: none;
      color: #dc3545;
    }

    .user-dropdown a:last-child:hover {
      background: #dc3545;
      color: white;
    }

    /* رسائل التنبيه */
    .alert-container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .alert {
      padding: 1rem;
      margin: 1rem 0;
      border-radius: 8px;
      border-left: 4px solid;
    }

    .alert-success {
      background: #d4edda;
      border-color: #28a745;
      color: #155724;
    }

    .alert-error {
      background: #f8d7da;
      border-color: #dc3545;
      color: #721c24;
    }

    .alert-info {
      background: #d1ecf1;
      border-color: #17a2b8;
      color: #0c5460;
    }

    /* تصميم متجاوب */
    @media (max-width: 768px) {
      .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
      }

      nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
      }

      .user-buttons {
        gap: 0.8rem;
      }

      .auth-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
      }
    }

