/* Modern reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Color palette */
  --primary-color: #4361ee;
  --secondary-color: #3f37c9;
  --text-color: #333;
  --light-gray: #f8f9fa;

  /* Spacing system */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;

  /* Typography */
  --font-base: 'Inter', system-ui, sans-serif;
  --font-heading: 'Montserrat', var(--font-base);
}

:root {
  --border-radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
}

:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (min-width: 1200px) {
  .container {
    width: fit-content;
  }
}

/* Optional: Use normalize.css or sanitize.css as base */
html {
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  html {
    font-size: 18px;
  }
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Spacing utilities */
.mt-1 {
  margin-top: var(--space-xs);
}

.mt-2 {
  margin-top: var(--space-sm);
}

/* ... more spacing utilities ... */

/* Flex utilities */
.flex {
  display: flex;
  gap: var(--space-md);
}

.flex-col {
  flex-direction: column;
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-md);
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

/* Custom CSS for the Add Team form */
.container {
  margin: 0 auto;
  padding-top: 0%;
  padding-right: 2%;
  padding-bottom: 2%;
  padding-left: 2%;
  max-width: 100%;
}


h2 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-check {
  display: inline-block;
  margin-right: 10px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-control-file {
  padding: 10px;
}

.button {
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
  padding: 10px 20px;
  border-radius: 4px;
  color: white;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #004085;
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 20px;
  /*  background-color: #f8f9fa; Optional: Add a background color */
  z-index: 1000;
  /* Ensure the footer stays above other content */
  background-color: rgba(247, 247, 247, 1);
  border-color: rgba(240, 240, 240, 1);
  /* padding-bottom: 64px;   */
  padding: 2rem;
}

body {
  /*  padding-bottom: 2%; Adjust this value based on the height of your footer */
  /* margin-bottom: 60px; */

}

.main-content {
  /* overflow-y: auto; */
  /*height: calc(100vh - 120px); /* Adjust based on header and footer height */
  padding-top: 2px;
  /* Adjust based on header height */
  width: 100%;
  /* Ensure it takes the full width */
  margin: 0;
  /* Remove any default margins */
  /* padding-left: 10rem; */
}

.container__09f24__FeTO6 {
  border-radius: 4px;
  transition: box-shadow .3s;
}

.y-css-pwt8yl {
  padding-top: 24px !important;
  padding-right: 24px !important;
  padding-bottom: 24px !important;
  padding-left: 24px !important;
  border-color: rgba(240, 240, 240, 1);
  -webkit-align-content: normal;
  -ms-flex-line-pack: normal;
  align-content: normal;
  -webkit-align-items: normal;
  -webkit-box-align: normal;
  -ms-flex-align: normal;
  align-items: normal;
  box-sizing: border-box;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-flex-wrap: nowrap;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: normal;
  -ms-flex-pack: normal;
  -webkit-justify-content: normal;
  justify-content: normal;
}

.y-css-g1ws15-card {
  margin-right: 24px !important;
  border-color: rgba(240, 240, 240, 1);
  box-sizing: border-box;
}

.y-css-mhg9c5 {
  border-color: rgba(240, 240, 240, 1);
}

.y-css-snigah {
  border-color: rgba(240, 240, 240, 1);
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.page-header {
  /* border-bottom: .0625rem solid rgba(231, 234, 243, .7);
    padding-bottom: 2rem;
    margin-bottom: 2.25rem; */
}

.col {
  -ms-flex: 1 0 0%;
  flex: 1 0 0%;
}

.page-header-title {
  margin-bottom: .5rem;
}

.tnc-container {
  padding-top: 1%;
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 2.5%;
  margin-left: 10%;
  margin-right: 10%;
}

.pagination-container {
  margin: 2rem 0;
  text-align: center;
}

.pagination {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid #e1e1e1;
  border-radius: 3px;
  color: #0073bb;
  text-decoration: none;
  font-weight: 500;
  min-width: 2.5rem;
  text-align: center;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  border-color: #0073bb;
  background-color: #f7f7f7;
}

.pagination-link.active {
  background-color: #0073bb;
  color: white;
  border-color: #0073bb;
}

.pagination-link.disabled {
  color: #999;
  pointer-events: none;
  border-color: #e1e1e1;
  background-color: #f7f7f7;
}

.pagination-ellipsis {
  padding: 0 0.5rem;
  color: #999;
}

@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-link {
    padding: 0.5rem;
    min-width: auto;
  }
}

/* Main search container - matches your image */
.search-container {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  position: relative; /* Added for dropdown positioning */
}

/* Search bar wrapper */
.search-bar {
  display: flex;
  align-items: center;  
  background-color: white;
  /* border: 1px solid #e1e1e1; */
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: visible; /* Changed from hidden to visible */
  position: relative; /* Added for dropdown positioning */
}

/* Dropdown container */
.filter-dropdown {
  position: relative; /* Added for dropdown positioning */
}

/* Dropdown menu - matching your card style */
.dropdown-menu {
  position: absolute; /* Absolute positioning */
  top: 100%; /* Positions below the search bar */
  left: 0;
  width: 100%; /* Same width as parent */
  max-height: 300px;
  overflow-y: auto;
  background: white;
  border: 1px solid #e1e1e1;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: -1px; /* Connects to search bar */
  z-index: 1000; /* Ensures dropdown appears above other elements */
  display: none; /* Initially hidden */
}

/* Show dropdown when active */
.dropdown-menu.active {
  display: block;
}

/* Rest of your existing CSS remains the same */
/* .search-input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 14px;
  color: #333;
} */

.search-icon {
  padding: 0 15px;
  color: #999;
  font-size: 16px;
}

.filter-button {
  background-color: #ff6423;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.filter-button:hover {
  background-color: #e55b1f;
}

.filter-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.dropdown-option {
  padding: 10px 15px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
}

.dropdown-option:hover {
  background-color: #f9f9f9;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option.active {
  background-color: #f0f7ff;
  color: #0066cc;
}
.loading-spinner {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.error-message {
    padding: 20px;
    text-align: center;
    color: #dc3545;
    font-weight: bold;
}

.pagination-link {
    cursor: pointer;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.pagination-link.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}
.pagination-link.disabled {
    color: #ccc;
    cursor: not-allowed;
}
.pagination-ellipsis {
    padding: 5px 10px;
}


button[title="Coming Soon"] {
    position: relative;
}

button[title="Coming Soon"]:hover::after {
    content: "Coming Soon";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: 8px;
}

button[title="Coming Soon"]:hover::before {
    content: "";
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
}

.signup-btn {
  -webkit-appearance: none;
      -moz-appearance: none;
      -ms-appearance: none;
      appearance: none;
      background-image: none;
      background-repeat: no-repeat;
      border: 0;
      cursor: pointer;
      margin: 0;
      -webkit-align-items: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      border-radius: 4px;
      box-shadow: none;
      box-sizing: border-box;
      display: -webkit-inline-box;
      display: -webkit-inline-flex;
      display: -ms-inline-flexbox;
      display: inline-flex;
      height: 44px;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      margin: 0px;
      overflow: hidden;
      padding-bottom: 10px;
      padding-left: 16px;
      padding-right: 16px;
      padding-top: 10px;
      position: relative;
      text-align: center;
      -webkit-transition: all 0.8s;
      transition: all 0.8s;
      transition-property: background-image, background-color, background-position, background-size, border-color, box-shadow, opacity;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      vertical-align: middle;
      width: auto;
      background-color: rgba(215, 22, 22, 1);
      color: rgba(255, 255, 255, 1);
}

.login-btn {
  
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background-image: none;
    background-repeat: no-repeat;
    border: 0;
    cursor: pointer;
    margin: 0;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 44px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    margin: 0px;
    overflow: hidden;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 10px;
    position: relative;
    text-align: center;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
    transition-property: background-image, background-color, background-position, background-size, border-color, box-shadow, opacity;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: auto;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid transparent;
    color: black;
    margin-right: 10px;
}