


@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

.alert-error {
  --bs-alert-color: var(--bs-danger-text-emphasis);
  --bs-alert-bg: var(--bs-danger-bg-subtle);
  --bs-alert-border-color: var(--bs-danger-border-subtle);
  --bs-alert-link-color: var(--bs-danger-text-emphasis);
}
    body {
      background: linear-gradient(115deg, rgb(249, 206, 52), rgb(238, 42, 123), rgb(98, 40, 215));
      min-height: 100vh;

      font-family: "Source Sans 3", Tahoma, Geneva, Verdana, sans-serif;
    }
    .login-container {
      background: white;
      border-radius: 28px;
      max-width: 400px;
      padding: 2.5rem 2rem 2rem 2rem;
      box-shadow: 0 8px 16px rgb(0 0 0 / 0.1);
      margin: 1rem auto;
    }
    .login-container h2 {
      font-weight: 700;
      font-size: 1.75rem;
      text-align: center;
    }
    .login-subheading {
      font-weight: 400;
      font-size: 1rem;
      text-align: center;
      margin-top: 0.25rem;
      margin-bottom: 1.75rem;
      color: #0c0c0cff;
    }
    .form-control {
      border-radius: 10px;
      padding-right: 3rem;
      font-size: 1rem;
    }
    .input-icon {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.1rem;
      color: #aaa;
      cursor: pointer;
    }
    .trouble-text {
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      cursor: pointer;
    }
    .btn-signin {
      background-color: #ffea00;
      color: black;
      font-weight: 700;
      font-size: 1rem;
      border: none;
      border-radius: 12px;
      padding: 0.75rem 0;
      width: 100%;
      transition: filter 0.3s ease;
    }
    .btn-signin:hover, .btn-signin:focus {
      filter: brightness(0.92);
      color: black;
      outline: none;
      box-shadow: none;
      background: #09ff8d;
    }
    .btn-signin:disabled{
      color: #adadad;
      outline: none;
      box-shadow: none;
      background: #fff581;
    }
    .divider-container {
      display: flex;
      align-items: center;
      margin: 1.5rem 0 1.5rem 0;
      position: relative;
    }
    .divider-container hr {
      flex-grow: 1;
      border-top: 1.5px solid #bbb;
      margin: 0 1rem;
    }
    .divider-container span {
      font-weight: 600;
      font-size: 0.9rem;
      color: #555;
      white-space: nowrap;
    }
    .social-login-buttons {
      display: flex;
      gap: 0.8rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .social-btn {
      flex: 1 1 30%;
      border-radius: 10px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      cursor: pointer;
      border: 1px solid #d1d1d1;
      background-color: white;
      transition: background-color 0.3s ease, border-color 0.3s ease;
      padding: 0.5rem 0;
    }
    .social-btn:hover {
      background-color: #f5f5f5;
      border-color: #a8a8a8;
      text-decoration: none;
      color: black;
    }
    .social-btn svg {
      height: 20px;
      width: 20px;
    }
    .request-now-text {
      font-size: 0.85rem;
      text-align: center;
      
      color: #717171;
    }
    .request-now-text strong {
      cursor: pointer;
      font-weight: 700;
      color: black;
    }
    /* custom input icon pointer events fix */
    .input-group .form-control:focus + .input-icon {
      color: #000;
    }

    .invite-link-container {
        background: #f7f4f0;
        border-radius: 10px;
        padding: 10px 12px;
        display: flex;
        align-items: center; /* Center button vertically */
        justify-content: space-between;
        font-size: 0.9rem;
        color: #414141;
    }

    .invite-texts {
        display: flex;
        flex-direction: column; /* Stack p and span */
        flex-grow: 1;
        overflow: hidden;
    }

    .invite-texts p {
        margin: 0;
    }

    .invite-link-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #666;
    }

    .copy-button {
        background: #222222;
        color: #fff;
        font-size: 0.85rem;
        padding: 8px 14px;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.2s ease;
        margin-left: 12px;
        flex-shrink: 0;
    }
    .footer-a-link{
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 0.8rem;
}

.copyright{
      font-size: 0.6rem;
    }

    
      /* Card container */
  .profile-card {
    background-color: #000f37;
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / 0.2);
    max-width: 350px;
    width: 100%;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Header with profile info */
  .profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .profile-image-wrapper {
    position: relative;
    flex-shrink: 0;
  }
  .profile-image {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2.5px solid #ffffffff;
    background: wheat;
  }
  .notification-badge {
    background-color: #00a75a;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 2px solid #202024;
  }

  .profile-info {
    display: flex;
    flex-direction: column;
  }
  .profile-name {
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
  }
  .profile-username {
    font-weight: 400;
    font-size: 0.875rem;
    color: #ffffffff;
  }

  /* Stats section: Wins, Matches, Points */
  .stats {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
  }
  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
  }
  .stat-label {
    font-weight: 700;
    opacity: 0.75;
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
    white-space: nowrap;
  }
  .stat-value {
    font-size: 1.1rem;
    font-weight: 700;
  }

  /* Bottom badges for gifts and diamonds */
  .badges {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #29292e;
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #e1e1e6;
    user-select: none;
  }
  .badge.gift {
    background-color: #ffffffff;
    color: black;
  }
  .badge.diamond {
    background-color: #00a75a;
  }

  /* Emoji icons as inline SVG for clarity and scalability */
  .badge svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 0.5px rgba(0,0,0,0.4));
  }
  .badge.gift svg path {
    fill: #ffc107;
  }
  .badge.diamond svg path {
    fill: #5be0e6;
  }

  /* Responsive adjustments */
  @media (max-width: 400px) {
    .profile-card {
      padding: 1.25rem 1rem;
      max-width: 100%;
    }
    .profile-image {
      width: 4rem;
      height: 4rem;
    }
    .profile-name {
      font-size: 1.1rem;
    }
    .stat-value {
      font-size: 1rem;
    }
    .badge {
      font-size: 0.85rem;
      padding: 0.4rem 0.7rem;
    }
  }
.malayalam {
  font-family: 'Noto Sans Malayalam', sans-serif;
}