* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  }
  
  :root {
      --primary-color: #2956bd;
      --primary-dark: #133175;
      --secondary-color: #f28328;
      --text-color: #333;
      --light-gray: #f8f9fa;
      --border-color: #e0e0e0;
      --error-color: #e63946;
      --success-color: #2a9d8f;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      --transition: all 0.3s ease;
  }
  
  body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background-color: #f0f2f5;
      background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
      padding: 20px;
  }
  
  .login-container {
      width: 100%;
      max-width: 450px;
      background-color: white;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--shadow);
      padding: 50px 40px;
  }
  
  .login-brand {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 40px;
      text-align: center;
  }
  
  .logo {
      width: 70px;
      height: 70px;
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: white;
      font-size: 28px;
      font-weight: 700;
  }
  
  .brand-name {
      font-size: 32px;
      font-weight: 700;
      color: var(--text-color);
      margin-bottom: 8px;
  }
  
  .brand-subtitle {
      color: #666;
      font-size: 16px;
  }
  
  .login-header {
      text-align: center;
      margin-bottom: 35px;
  }
  
  .login-header h1 {
      font-size: 28px;
      color: var(--text-color);
      margin-bottom: 10px;
  }
  
  .login-header p {
      color: #666;
      font-size: 16px;
  }
  
  .form-group {
      margin-bottom: 25px;
      position: relative;
  }
  
  .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: var(--text-color);
      font-size: 15px;
  }
  
  .input-with-icon {
      position: relative;
  }
  
  .input-with-icon i {
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      color: #999;
      font-size: 18px;
  }
  
  .form-control {
      width: 100%;
      padding: 16px 20px 16px 50px;
      border: 2px solid var(--border-color);
      border-radius: 12px;
      font-size: 16px;
      transition: var(--transition);
      background-color: var(--light-gray);
  }
  
  .form-control:focus {
      outline: none;
      border-color: var(--primary-color);
      background-color: white;
      box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  }
  
  .password-toggle {
      position: absolute;
      right: 42px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: #999;
      cursor: pointer;
      font-size: 18px;
      padding: 5px;
  }
  
  .login-btn {
      width: 100%;
      padding: 16px;
      background-color: var(--primary-color);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 17px;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      margin-top: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
  }
  
  .login-btn:hover {
      background-color: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
  }
  
  .login-btn:active {
      transform: translateY(0);
  }
  
  .login-btn:disabled {
      background-color: #cccccc;
      cursor: not-allowed;
      transform: none;
      box-shadow: none;
  }
  
  .forgot-password {
      text-align: center;
      margin-top: 25px;
      padding-top: 25px;
      border-top: 1px solid var(--border-color);
  }
  
  .forgot-password a {
      color: var(--primary-color);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: var(--transition);
      display: inline-flex;
      align-items: center;
  }
  
  .forgot-password a:hover {
      color: var(--primary-dark);
      text-decoration: underline;
  }
  
  .forgot-password i {
      margin-right: 8px;
      font-size: 14px;
  }
  
  .security-info {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 30px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 10px;
      font-size: 14px;
      color: #666;
  }
  
  .security-info i {
      color: var(--primary-color);
      margin-right: 10px;
      font-size: 16px;
  }
  
  /* Responsywność */
  @media (max-width: 768px) {
      .login-container {
          max-width: 400px;
          padding: 40px 30px;
      }
      
      .logo {
          width: 60px;
          height: 60px;
          font-size: 24px;
      }
      
      .brand-name {
          font-size: 28px;
      }
      
      .login-header h1 {
          font-size: 26px;
      }
  }
  
  @media (max-width: 480px) {
      body {
          padding: 15px;
          background: white;
      }
      
      .login-container {
          padding: 35px 25px;
          box-shadow: none;
          border-radius: 15px;
      }
      
      .logo {
          width: 55px;
          height: 55px;
          font-size: 22px;
          border-radius: 15px;
          margin-bottom: 15px;
      }
      
      .brand-name {
          font-size: 26px;
      }
      
      .brand-subtitle {
          font-size: 15px;
      }
      
      .login-header h1 {
          font-size: 24px;
      }
      
      .login-header p {
          font-size: 15px;
      }
      
      .form-control {
          padding: 15px 18px 15px 45px;
      }
      
      .login-btn {
          padding: 15px;
      }
  }
  
  /* Animacje */
  @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
  }
  
  .login-container > * {
      animation: fadeIn 0.5s ease forwards;
  }
  
  .login-brand { animation-delay: 0.1s; }
  .login-header { animation-delay: 0.2s; }
  .form-group:nth-child(1) { animation-delay: 0.3s; }
  .form-group:nth-child(2) { animation-delay: 0.4s; }
  .login-btn { animation-delay: 0.5s; }
  .forgot-password { animation-delay: 0.6s; }
  .security-info { animation-delay: 0.7s; }
  
  /* Efekty dla pól formularza */
  .form-group.focused label {
      color: var(--primary-color);
  }
  
  .form-group.focused .input-with-icon i {
      color: var(--primary-color);
  }

  .logo01 {
    color: var(--primary-dark);
    font-size: 1.5em;
    line-height: 1em;
    font-weight: bold;
  }

  .logo02 {
    color: var(--secondary-color);
    font-size: 3em;
    display: block;
    line-height: 0.7em;
}

