:root {
      --blue:   #074C9F;
      --yellow: #EDBC0B;
      --accent: #13B3F3;
      --dark:   #050B1C;
      --red:    #e53935;
      --border: #dde1ec;
      --bg:     #f4f6fb;
      --white:  #ffffff;
      --muted:  #8a93b2;
      
    }

   .update-profile-card-section {
    
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px 16px;
    }

    .update-profile-card {
      background: var(--white);
      border-radius: 20px;
      padding: 44px 52px 52px;
      width: 100%;
      max-width: 900px;
      box-shadow: 0 8px 40px rgba(7,76,159,.08);
    }

    h1 {
      text-align: center;
      font-size: 24px;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 32px;
      letter-spacing: -0.3px;
    }
    .disclaimer{
        display:flex;
        gap:10px;
        color:#f70000;
        border-radius:5px;
        margin-bottom:30px;
        background-color: #ffedae;
        padding: 12px;
        justify-content:center;
        align-items:center;
        text-align:center;
        flex-wrap:wrap;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin-bottom: 18px;
    }

    label {
      font-size: 16px;
      font-weight: 700;
      color: var(--dark);
    }

    label.required { color: var(--blue); }
    label .star { color: var(--red); margin-left: 2px; }

    input, select {
      height: 44px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius);
      padding: 0 18px;
      font-size: 14px;
      font-family: 'Rubik', sans-serif;
      color: var(--dark);
      background: var(--white);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      width: 100%;
    }

    input::placeholder { color: var(--muted); }

    input:focus, select:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(19,179,243,.14);
    }

    input.error { border-color: var(--red); }

    .err-msg {
      font-size: 11.5px;
      color: var(--red);
      margin-top: 2px;
      display: none;
    }
    .err-msg.visible { display: block; }

    select {
      appearance: none;
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23074C9F' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 16px center;
      padding-right: 36px;
      cursor: pointer;
    }

    select option[value=""] { color: var(--muted); }

    .location-wrap { position: relative; }
    .location-wrap input { padding-right: 50px; }

    .add-btn {
      position: absolute;
      right: 6px;
      top: 50%;
      transform: translateY(-50%);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--dark);
      color: #fff;
      border: none;
      font-size: 20px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s, transform .15s;
    }
    .add-btn:hover { background: var(--blue); }
    .add-btn:active { transform: translateY(-50%) scale(.92); }

    .location-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 10px;
    }

    .tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: #eef4ff;
      color: var(--blue);
      font-size: 12.5px;
      font-weight: 500;
      padding: 4px 12px 4px 14px;
      border-radius: 50px;
      animation: fadeIn .2s ease;
    }

    .tag button {
      background: none;
      border: none;
      color: var(--blue);
      cursor: pointer;
      font-size: 15px;
      line-height: 1;
      padding: 0;
      height: auto;
      width: auto;
      border-radius: 0;
      opacity: .7;
      transition: opacity .15s;
    }
    .tag button:hover { opacity: 1; }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(.9); }
      to   { opacity: 1; transform: scale(1); }
    }

    .submit-wrap { text-align: center; margin-top: 32px; }

    .submit-btn {
      background: var(--yellow);
      color: var(--dark);
      font-family: 'Rubik', sans-serif;
      font-size: 15px;
      font-weight: 700;
      border: none;
      border-radius: var(--radius);
      padding: 14px 48px;
      cursor: pointer;
      transition: opacity .2s, transform .15s, box-shadow .2s;
      box-shadow: 0 4px 18px rgba(237,188,11,.35);
      letter-spacing: .2px;
    }
    .submit-btn:hover { opacity: .9; box-shadow: 0 6px 24px rgba(237,188,11,.45); }
    .submit-btn:active { transform: scale(.97); }

    .toast {
      position: fixed;
      bottom: 28px;
      left: 50%;
      transform: translateX(-50%) translateY(20px);
      background: var(--dark);
      color: #fff;
      font-size: 14px;
      font-weight: 500;
      padding: 12px 28px;
      border-radius: 50px;
      opacity: 0;
      transition: opacity .3s, transform .3s;
      pointer-events: none;
      white-space: nowrap;
    }
    .toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

    @media (max-width: 520px) {
      .update-profile-card { padding: 32px 24px 40px; }
    }