        @font-face {
        font-family: "FuturaPT";
        src: url("../fonts/FuturaCyrillicBook.ttf") format("truetype");
        font-weight: 400;
        font-style: normal;
        }

        @font-face {
        font-family: "FuturaPT";
        src: url("../fonts/FuturaCyrillicBook.ttf") format("truetype");
        font-weight: 700;
        font-style: normal;
        }


    * { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --accent: #FFC11C;
      --hover: #FFC107;
      --shadow: rgba(255, 215, 0, 0.15);
      --text-dark: #fff;
    }

    body {
      background-color: #001F3F;
      font-family: "FuturaPT", sans-serif;
      background-color: #001F3F;
      background-size: cover;
      background-repeat: no-repeat;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 1rem;
      color: #333;
    }

    .payment-container {
      background-color: #10172D;
      border-radius: 20px;
      border: 1px solid gray;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      color: #FFFFFF;
      padding: 2rem;
      text-align: center;
    }

    .logo {
      font-size: 2rem;
      color: #FFC11C;
      margin-bottom: 1rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    h1 {
      font-size: 1.4rem;
      color: #fff;
      margin-bottom: 1rem;
    }

    p.instructions {
      margin: 0rem 4rem;
      font-size: 0.9rem;
      color: #fff;
      margin-bottom: 1.5rem;
    }

    .qr-code {
      background-color: #fff;
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1.5rem;
      height: 485px;
    }

    .qr-code img {
      width: 300px;
      display: block;
      margin: 0 auto;
    }

    .race-categories {
      margin: 0rem 4rem;
      text-align: left;
      margin-bottom: 1.5rem;
    }

    .race-item {
      display: flex;
      justify-content: space-between;
      margin-bottom: 0.5rem;
    }

    .race-item span {
      font-weight: 600;
    }

    .race-item .fee {
      color: #FF4500;
    }

    p.contact {
      margin: 0rem 4rem;
      font-size: 0.85rem;
      color: #fff;
      margin-bottom: 1rem;
    }

    .upload-section {
      margin: 2rem;
      position: relative;
    }

    .upload-section input[type="file"] {
      display: none;
    }

    .upload-section label {
      background-color: #FFF;
      color: #001F3F;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      cursor: pointer;
    }

    .upload-section p {
      margin: 1rem 0rem;
    }

    .preview-container {
      margin-top: 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .preview-image {
      max-width: 100px;
      max-height: 100px;
      border: 1px solid #ddd;
      border-radius: 4px;
    }

    .preview-pdf {
      max-width: 100px;
      height: 100px;
      border: 1px solid #ddd;
      border-radius: 4px;
      background-color: #f9f9f9;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
    }

    .reload-btn {
      background-color: #6A5ACD;
      color: #fff;
      border: none;
      padding: 0.3rem 0.7rem;
      border-radius: 4px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    .reload-btn:hover {
      background-color: #483D8B;
    }

    a {
      text-decoration: none;
      color: white !important;
    }

    .form-actions {
      display: flex;
      justify-content: space-between;
    }

    button {
      background-color: #FFC11C;
      font-size: 1.1rem;
      font-weight: 600;
      color: #fff;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.3s;
    }

    button:hover {
      background-color: #483D8B;
    }

    @media (max-width: 480px) {
      .payment-container {
        padding: 1.5rem;
      }
      .qr-code img {
        width: 150px;
        height: 150px;
      }
      .form-actions {
        flex-direction: column;
        gap: 1rem;
      }
      .instructions, .race-categories, .contact {
        margin: 0rem 1rem;
      }
      .upload-section {
        margin: 1rem;
      }
    }

    .form-container {
      background: #10172D;
      border-radius: 20px;
      border: 1px solid gray;
      padding: 2rem 3rem;
      max-width: 900px;
      width: 100%;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    h1 { font-size: 2rem; margin-bottom: 1rem; color: var(--accent); text-align: center; }
    p { text-align: center; margin-bottom: 2rem; }
    .form-group { margin-bottom: 1.5rem; }
    label { display: block; margin-bottom: 0.5rem; }
    input, select, textarea {
      width: 100%; padding: 1rem; border-radius: 10px;
      border: 1px solid var(--accent); background: transparent; color: #fff;
      font-size: 1rem;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--hover); box-shadow: 0 0 0 4px var(--shadow); outline: none;
    }
    .flex { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
    button {
      background: linear-gradient(135deg, var(--accent), var(--hover));
      color: #000; border: none; border-radius: 10px;
      padding: 1rem 2rem; font-weight: 700; cursor: pointer; transition: 0.3s;
      display: block; margin: 2rem auto 0;
    }
    button:hover { transform: translateY(-3px); box-shadow: 0 5px 15px var(--shadow); }

    .form-container::before {
      content: '';
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
      opacity: 0.5;
      pointer-events: none;
    }

    .form-header {
      text-align: center;
      margin-bottom: 2rem;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .logo {
      font-size: 2rem;
      color: var(--accent);
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    h1 {
      font-size: 1.8rem;
      font-weight: 700;
    }

    p {
      color: #ccc;
      font-size: 1rem;
      margin: 1rem 0rem;
    }

    .form-group {
      margin-bottom: 1.8rem;
      position: relative;
    }

    label {
      display: block;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 0.6rem;
      font-size: 1rem;
    }

    input {
      width: 100%;
      padding: 1rem;
      font-size: 1rem;
      border: 1px solid #FFC11C;
      border-radius: 10px;
      color: var(--text-dark);
      background-color: transparent !important;
      transition: all 0.3s;
    }

    input::placeholder {
      color: #aaa !important;
    }

    input:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 4px var(--shadow);
      transform: translateY(-2px);
      outline: none;
    }

    .otp-inputs {
      display: flex;
      gap: 0.8rem;
      justify-content: center;
    }

    .otp-inputs input {
      width: 50px;
      height: 50px;
      text-align: center;
      font-size: 1.5rem;
      font-weight: bold;
    }

    .btn {
      background: linear-gradient(135deg, var(--accent), var(--hover));
      color: var(--text-dark);
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      padding: 1rem 2.5rem;
      border-radius: 10px;
      cursor: pointer;
      width: 100%;
      transition: all 0.3s;
    }

    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px var(--shadow);
    }

    .btn:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .step {
      display: none;
    }

    .step.active {
      display: block;
    }

    .text-center { text-align: center; }
    .mt-1 { margin-top: 1rem; }
    .text-success { color: #4ade80; }
    .text-error { color: #f87171; }

    @media (max-width: 600px) {
      .form-container { padding: 2rem; }
      h1 { font-size: 1.6rem; }

      .otp-inputs{
        gap: 0.5rem !important;
      }

    .otp-inputs input {
      width: 30px !important;
      height: 30px !important;
      text-align: center;
      font-size: 1.5rem;
      font-weight: bold;
    }

    }

    /* Make all dropdowns and their options transparent */
    select {
    background-color: #10172D !important;
    color: inherit; /* keep same text color as parent */
    }

    select,
    select option {
    background-color: #10172D !important;
    color: #fff; /* #10172 text color for visibility */
    }
