* { box-sizing: border-box; }

    body {
      font-family: 'Segoe UI', sans-serif;
      background: linear-gradient(135deg, #667eea, #764ba2);
      margin: 0;
      padding: 40px 15px;
      display: flex;
      justify-content: center;
    }

    h2 {
      color: #fff;
      text-align: center;
      margin-bottom: 25px;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    }

    form {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      max-width: 750px;
      width: 100%;
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
      animation: fadeIn 0.6s ease;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
    }

    label {
      font-weight: 600;
      font-size: 14px;
      color: #444;
    }

    input, select {
      width: 100%;
      padding: 10px;
      margin-top: 6px;
      border: 2px solid #ccc;
      border-radius: 8px;
      font-size: 15px;
      transition: 0.3s ease;
    }

    input:focus, select:focus {
      border-color: #667eea;
      box-shadow: 0 0 8px #667eea;
    }

    input[readonly] {
      background-color: #f5f5f5;
    }

    button {
      margin-top: 25px;
      width: 100%;
      padding: 14px;
      background-color: #667eea;
      color: white;
      font-size: 16px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-weight: bold;
      box-shadow: 0 6px 15px rgba(102,126,234,0.5);
      transition: background 0.3s ease;
    }

    button:hover {
      background-color: #5a67d8;
    }

    .input-error {
      border-color: #d93025 !important;
      box-shadow: 0 0 6px #d93025 !important;
      animation: shake 0.3s ease;
    }

    .error-message {
      color: #d93025;
      font-size: 13px;
      margin-top: 4px;
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-5px); }
      50% { transform: translateX(5px); }
      75% { transform: translateX(-5px); }
    }