@charset "utf-8";
/* CSS Document */

/* ----- my network css */

.network-container {
      max-width: 600px;
      margin: auto;
      
      padding: 3px;
      border-radius: 0px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .network-title {
      font-size: 22px;
      font-weight: bold;
      margin-bottom: 20px;
      text-align: center;
    }

    .network-container input[type="text"],
    .network-container input[type="email"],
    .network-container button {
      width: 100%;
      padding: 12px;
      margin: 8px 0;
      font-size: 16px;
      
      border: 1px solid #ccc;
    }

    .network-container button {
      background-color: #00bbff;
      color: white;
      border: none;
      cursor: pointer;
    }

    .network-container button:hover {
      	background-color: #e200b0;
		color: white;
    }

    .network-section {
		  margin-top: 30px;
		  border-top: 2px solid #e200b0;
		  padding-top: 20px;
    }

    .network-ref-header {
      	font-weight: 500;
		font-size: 14px;
      	margin: 10px 0 3px;
    	border-bottom: 1px solid #003d7e;
	    padding-bottom: 5px;
		color: #c6c7c8;
    }

    .network-highlight {
      font-weight: 400;
      font-size: 18px;
      margin-top: 20px;
      margin-bottom: 10px;
    }

    .network-paid {
      color: #00fec5;
    }

    .network-unpaid {
      color: #e200b0;
    }
	.network-notpaidyet {
      color: #e200b0;
    }

.network-pending,
.network-notpaid,
.network-not_paid_yet,
.network-not-paid,
.network-unpaid {
  color: #e200b0; /* Red */
  font-weight: bold;
text-transform: capitalize;
}

    .network-card {
      	display: flex;
      	justify-content: space-between;
      	border-radius: 1px;
	  	padding: 5px 3px;
      	margin: 3px 0;
      	font-size: 14px;
		border-bottom: 1px dotted #344049;
      	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .network-card > div {
      	flex: 1;
		padding-left: 30px;
      	text-align: left;
    }

    @media (max-width: 600px) {
      .network-card {
        flex-direction: row;
        text-align: center;
      }

      .network-card > div {
        margin-bottom: 5px;
      }
    }

.points-summary {
  background: none;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
/*  border: 1px solid #d4e6ff;*/
}

.points-total {
  color: #ec038a;
  font-weight: 900;
  font-size: 24px;
}

.points-box {
  margin-top: 10px;
  line-height: 1.6;
  font-size: 16px;
} 


.circle-network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(81px, 1fr));
  gap: 12px;
  margin: 15px 0;
}

.circle-network-dot {
    width: 81px;
    height: 30px;

  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
      color: #000f50;
    font-weight: bold;
}

.circle-network-paid {
  background-color: #2ecc71;
}

.circle-network-unpaid {
  background-color: #e74c3c;
}

#circle-network-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card-background);
  border-radius: 10px;
  padding: 20px;
  width: 360px;
  z-index: 9999;
  display: none;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

#circle-network-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
}

.circle-network-popup-close {
  text-align: right;
  cursor: pointer;
  font-weight: bold;
  color: var(--text-blue-to-darkblue-color);
  margin-top: -10px;
}


.circle-network-expander {
  padding: 10px;
/*  background: #f1f1f1;*/
  margin: 8px 0;
  border-radius: 36px;
  cursor: pointer;
  font-weight: bold;
}

.circle-network-expander:hover {
  background: #ec038a;
}

.circle-network-hidden {
  display: none;
}

.circle-network-expanded {
  display: block;
  padding-left: 15px;
}

.circle-network-parent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(81px, 1fr));
  gap: 9px;
  margin: 9px 0;
}

.circle-network-parent {
  padding: 4px;
    background: none;
    border-radius: 36px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    border: 3px solid #00bbff;
    /* width: 101px; */
    font-size: 12px;

}

.circle-network-parent:hover {
  background: #ec038a;
}

.circle-network-parent-expanded {
  background: #ec038a;
	border: 3px solid #ec038a;
}


/* ===========================================================
      PAGINATION UI (Option 2 - Bold, Styled to Match Theme)
=========================================================== */

/* Title row with pagination on the right */
.circle-level-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 0 3px;
}

/* Bold Pagination */
.circle-network-pagination {
/*  display: flex;*/
	display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 18px;
  color: #000f50; /* your navy text color */
}

/* Pagination Buttons */
.circle-network-pagination-btn {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 900;
  color: #ec038a;                /* your pink theme */
  transition: 0.2s ease;
}

[id^="level2-"].circle-network-expanded,
[id^="level3-"].circle-network-expanded {
    border: 1px solid #003d7e33;
    padding: 12px;
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.05);
}

.circle-network-pagination-btn:hover {
  color: #00bbff;                /* theme blue */
  transform: scale(1.2);
}

.circle-net-right {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.circle-network-pagination-child {
    text-align: center;
    margin-top: 10px;
}

.circle-network-pagination-btn.circle-disabled {
  opacity: 0.3;
  pointer-events: none;
  color: #666;
}

/* Page indicator */
.circle-network-pagination-label {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

/* Bottom pagination (Level 2 & 3 children) */
.circle-level-sub-pagination {
  display: flex;
  justify-content: center;
  margin: 10px 0 5px 0;
}


/* ===========================================================
      SWIPE FEEDBACK ANIMATION
=========================================================== */

.circle-network-grid.swipe-left {
  animation: circleSwipeLeft 0.25s ease-out;
}

.circle-network-grid.swipe-right {
  animation: circleSwipeRight 0.25s ease-out;
}

@keyframes circleSwipeLeft {
  from { transform: translateX(20px); opacity: 0.4; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes circleSwipeRight {
  from { transform: translateX(-20px); opacity: 0.4; }
  to { transform: translateX(0); opacity: 1; }
}


.circle-network-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.circle-network-heading .circle-network-pagination {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}


	/* ===========================================================
		  Team Creation Css  Start 
	=========================================================== */

	/* ================================
	   TEAMS – ROOT
	   ================================ */

	.Teams-dtl-root {
	  padding: 6px;
	}

	.Teams-dtl-container {
	  max-width: 900px;
	  margin: auto;
	  padding: 16px;
	  border-radius: 12px;
	  min-height: 600px;
	}

	/* ================================
	   HEADINGS
	   ================================ */

	.Teams-dtl-title {
	  text-align: center;
	  margin-bottom: 16px;
	}

	/* ================================
	   FORM ELEMENTS
	   ================================ */

	.Teams-dtl-form-group {
	  margin-bottom: 3px;
	}

	.Teams-dtl-label {
	  display: block;
	  margin-bottom: 3px;
	  font-weight: 600;

	}

	/* Inputs & selects */
	.Teams-dtl-root input,
	.Teams-dtl-root select {
	  width: 100%;
	  padding: 9px 6px;
	  height: 44px;
	  font-size: 14px;
	  border-radius: 8px;
	  border: 1px solid #d0d5dd;
	  background: #fff;
	  transition: border-color 0.2s, box-shadow 0.2s;
	  box-sizing: border-box;
	}

	.Teams-dtl-root input::placeholder {
	  color: #9aa0a6;
	}

	.Teams-dtl-root input:focus,
	.Teams-dtl-root select:focus {
	  border-color: #2563eb;
	  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
	  outline: none;
	}

	.Teams-dtl-root input[disabled] {
	  background: #f3f4f6;
	  color: #6b7280;
	}

	/* ================================
	   BUTTONS
	   ================================ */

	.Teams-dtl-btn {
	  padding: 10px 18px;
	  border-radius: 36px;
	  font-size: 14px;
	  font-weight: 600;
	  background: linear-gradient(135deg, #00bbff, #ec038a);
	  color: #fff;
	  border: none;
	  cursor: pointer;
	  transition: transform 0.15s ease, box-shadow 0.15s ease;
	}

	.Teams-dtl-btn:hover {
	  transform: translateY(-1px);
	  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
	}

	/* ================================
	   AMOUNT SUMMARY
	   ================================ */

	#Teams-dtl-amountSummary {
	  background: #f0f9ff;
	  border: 1px solid #bae6fd;
	  border-radius: 10px;
	  padding: 20px 14px;
	  font-size: 14px;
	  margin-bottom: 16px;
	  color: #0c4a6e;
			margin-top: 24px;
	}

	/* ================================
	   PLAYERS TABLE – DESKTOP
	   ================================ */

	.Teams-dtl-players-table {
	  width: 100%;
	  border-collapse: separate;
	  border-spacing: 0;
	  margin-top: 12px;
	  background: var(--card-background);
	  border-radius: 12px;
	  overflow: hidden;
	}

	.Teams-dtl-players-table thead {
	  background: #f8fafc;
	}

	.Teams-dtl-players-table th {
	  font-size: 14px;
	  font-weight: 600;
	/*  color: #374151;*/
	  padding: 10px;
	  border-bottom: 1px solid var(--bottom-line);
		text-align: center;
	}

	.Teams-dtl-players-table td {
	  padding: 10px;
	/*  border-bottom: 1px solid #e5e7eb;*/
	  vertical-align: middle;
	}

	.Teams-dtl-players-table tbody tr:hover {
	  background: var(--bottom-line);
	}

	.Teams-dtl-players-table td:first-child {
		font-weight: 600;
		color: var(--text-blue-to-darkblue-color);
	/*  color: #2563eb;*/
	/*  text-align: center;*/
	/*  width: 40px;*/
	}

	/* ================================
	   MOBILE VIEW – PLAYER CARDS
	   ================================ */

	@media (max-width: 768px) {

	  .Teams-dtl-players-table,
	  .Teams-dtl-players-table thead,
	  .Teams-dtl-players-table tbody,
	  .Teams-dtl-players-table th,
	  .Teams-dtl-players-table td,
	  .Teams-dtl-players-table tr {
		display: block;
		  background: none;
	  }

	  .Teams-dtl-players-table thead {
		display: none;
	  }

	  .Teams-dtl-players-table tr {
			 background: var(--card-background);
			border-radius: 12px;
			padding: 6px;
			margin-bottom: 18px;
	  }

	  .Teams-dtl-players-table td {
		border: none;
		padding: 6px 0;
	  }

	  .Teams-dtl-players-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 600;
		color: #6b7280;
		margin-bottom: 4px;
	  }
	}

	/* ================================
	   team HELPERS
	   ================================ */

	.Teams-dtl-hidden {
	  display: none;
	}

	.Teams-dtl-input-icon {
	  position: relative;
	}

	.Teams-dtl-input-icon i {
	  position: absolute;
	  top: 50%;
	  left: 12px;
	  transform: translateY(-50%);
	  color: #6b7280;
	  font-size: 14px;
	  pointer-events: none;
	}

	.Teams-dtl-input-icon input,
	.Teams-dtl-input-icon select {
	  padding-left: 36px;
	}

	#Teams-dtl-startSection{
		text-align: center;
	}

	.Teams-dtl-static-value {
	  padding: 10px 12px;
	  border-radius: 8px;
	  background: #f8fafc;
	  border: 1px solid #d0d5dd;
	  font-weight: 600;
	  color: #111827;
	  font-size: 15px;
	}

	.Teams-dtl-remove-btn {
	  background: #fee2e2;
	  border: 1px solid #fca5a5;
	  color: #b91c1c;
	  font-size: 18px;
	  font-weight: bold;
	  width: 28px;
	  height: 28px;
	  border-radius: 50%;
	  line-height: 24px;
	  cursor: pointer;
	}

	.Teams-dtl-remove-btn:hover {
	  background: #fecaca;
	}

	.text_h3{
		font-size: 16px;
		color: var(--text-blue-to-darkblue-color);
		font-weight: 600;
		padding: 10px;
	}

	/* =========================================
	   DESKTOP: Team HIDE ACTION COLUMN
	   ========================================= */
	@media (min-width: 769px) {

	  /* Hide Action column header */
	  .Teams-dtl-players-table th:last-child {
		display: none;
	  }

	  /* Hide Action column cells */
	  .Teams-dtl-players-table td:last-child {
		display: none;
	  }

	  /* Position minus button inside row */
	  .Teams-dtl-players-table tr {
		position: relative;
	  }

	  .Teams-dtl-remove-btn {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%);
	  }
	}


	/* Player number + role + minus in one line */
	.Teams-dtl-player-head {
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: 10px;
	}

	.Teams-dtl-player-label {
	  font-weight: 600;
	  white-space: nowrap;
	}

	.Teams-dtl-remove-btn {
	  margin-left: auto;
	}

	.Teams-dtl-player-controls {
	  display: flex;
	  gap: 10px;
	  margin-bottom: 12px;
	  flex-wrap: wrap;
		justify-content: space-between;
	}

	.Teams-dtl-btn-danger {
	  background: linear-gradient(135deg, #dc2626, #b91c1c);
	}

	/* FORCE amount column visible on desktop */
.Teams-dtl-players-table th:last-child,
.Teams-dtl-players-table td:last-child {
  display: table-cell !important;
}


/* Small inline loader for PID lookup */
.Teams-dtl-pid-loader {
  width: 14px;
  height: 14px;
/*  border: 2px solid #ccc;*/
/*  border-top: 2px solid #333;*/
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-left: 6px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Player amount input styling */
.Teams-dtl-player-amount {
  color: var(--accent-pink);             /* blue */
  font-weight: 600;
  background-color: #f4f8ff;   /* light blue background */
  border: 1px solid #cfe2ff;
  text-align: center;
}

.privacy-note {
  font-size: 11px;
  color: #6c757d;
}

/* Mobile specific */
@media (max-width: 768px) {
  .privacy-note {
    display: block !important;
    visibility: visible !important;
  }
}


.Teams-dtl-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.Teams-dtl-popup {
  background: var(--card-background);
  color: #fff;
  width: 90%;
  max-width: 600px;
  padding: 22px;
  border-radius: 14px;
  text-align: left;
  position: relative;
}

.Teams-dtl-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* ===============================
   POPUP CLOSE BUTTON
   =============================== */

.Teams-dtl-close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 36px;
  height: 36px;

  border: none;
  border-radius: 50%;

/*  background: rgba(255, 255, 255, 0.12);*/
  color: #fff;

  font-size: 20px;
  font-weight: bold;
  line-height: 36px;
  text-align: center;

  cursor: pointer;

  transition: background 0.2s ease,
              transform 0.15s ease,
              box-shadow 0.15s ease;

  z-index: 10;
}

/* Hover (desktop) */
.Teams-dtl-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* Active (click feedback) */
.Teams-dtl-close:active {
  transform: scale(0.95);
}

/* Focus (keyboard accessibility) */
.Teams-dtl-close:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.6);
}

@media (max-width: 480px) {
  .Teams-dtl-close {
    width: 42px;
    height: 42px;
    font-size: 22px;
    line-height: 42px;
  }
}

/* teams pid lock css */

.lock-wrapper {
  position: relative;
}

.lock-wrapper input,
.lock-wrapper select {
  padding-right: 34px;   /* space for icon */
}

/* 🔒 LOCK ICON — FORCE VISIBILITY */
.lock-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 14px;
  line-height: 1;

  color: #000f29;          /* visible color */
  opacity: 0.8;

  z-index: 5;            /* ABOVE input */
  pointer-events: none;

  display: none;         /* JS controls this */
	
}

/* Locked field styling */
input[readonly],
select:disabled {
  background-color: #f3f3f3 !important;
  cursor: not-allowed;
}


/* Animation for the popup contents */
#Teams-dtl-popup-title, #Teams-dtl-popup-message {
    transition: all 0.3s ease-in-out;
}

/* Spinner icon spacing */
.fa-spinner {
    margin-right: 10px;
    color: #3498db; /* Blue color for loading */
}

/* Optional: Pulse effect while submitting */
.submitting-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}


/* ===============================
  teams  SHARE BUTTON – PAYMENT SUCCESS
   =============================== */

.teams-share-btn {
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--blue-to-blue);
  color: #ffffff;
  border: none;
  border-radius: 36px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(40, 167, 69, 0.25);
  transition: all 0.25s ease;
	justify-self: anchor-center;
}

.teams-share-btn:hover {
  background: var(--accent-purple);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(40, 167, 69, 0.35);
}

.teams-share-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(40, 167, 69, 0.25);
}

.teams-share-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.35);
}

/* Optional: icon size control */
.teams-share-btn span {
  font-size: 16px;
}
/* ===========================================================
      Team Creation Css  close
=========================================================== */

/* =================================================
   MY TEAMS – VIEWER DASHBOARD (NAMESPACED)
================================================= */

.my-page-header {
  padding: 16px;
  background: #111;
  color: #fff;
}

.my-teams-container {
  padding: 12px;
  background: #f6f7f9;
}

/* Accordion Card */
.my-team-card {
  background: var(--border-color);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.my-team-header {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.my-team-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-team-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.my-role-badge {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #e5e7eb;
}

.my-toggle {
  font-size: 20px;
}

/* Expanded content */
.my-team-content {
  display: none;
  padding: 12px;
  border-top: 1px solid #eee;
}

.my-team-content.active {
  display: block;
}

/* Players grid */
.my-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 12px;
}

/*
.my-player-card {
  text-align: center;
}
*/

.my-player-card img {
  width: 80px;
  height: 80px;
/*  border-radius: 50%;*/
  object-fit: cover;
  cursor: pointer;
}

.my-player-name {
  font-size: 13px;
  margin-top: 6px;
}

.my-you-badge {
  font-size: 11px;
  color: #fff;
  background: #111;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
}

/* Enclave View */
.my-enclave {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.my-enclave img {
  max-width: 90%;
  max-height: 90%;
}

.my-close-enclave {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* ===============================
   MY TEAMS – OVERLAY VISIBILITY FIX
   =============================== */

/* Base: hidden (controlled by JS) */
#my-teams-content #teams-login {
  display: none;
}

/* When My Teams tab is ACTIVE */
#my-teams-content.active-content #teams-login {
  display: block;
}

/* Teams list visibility */
#my-teams-content #myTeamsContainer {
  display: none;
}

#my-teams-content.active-content #myTeamsContainer {
  display: block;
	padding: 3px 3px;
}

/* Optional spacing */
#my-teams-content {
  padding: 12px 12px;
}

/* My Teams login visibility */
#my-teams-content:not(.active-content) #teams-login {
  display: none;
}

/* =========================================================
   TEAMS OTP POPUP – Z-INDEX FIX
   ========================================================= */

/* Account overlay is usually around 10000 */
#teamsLoginOverlay {
  position: fixed !important;
  inset: 0;
  width: 100vw;
  height: 100vh;

  display: none; /* JS toggles this */
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.6);

  z-index: 2147483647 !important; /* MAX SAFE VALUE */
}

/* Modal box */
#teamsLoginOverlay .login-modal-content {
  position: relative;
  z-index: 2147483647;
}

#loginModalOverlay[data-login-mode="teams"] #pid {
  display: none !important;
}
#loginModalOverlay[data-login-mode="teams"] label[for="pid"] {
  display: none !important;
}

/* Hide background login messages when popup is open */
#teamsLoginOverlay[style*="display: flex"] ~ .teams-login-note {
  display: none !important;
}


.my-team-players {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 12px;
	    padding: 9px 10px 20px 12px;
}

/* ===============================
   PLAYER CARD
   =============================== */

.my-player-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 0px 0px 12px;	
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
  transition: transform 0.15s ease;
    height: 350px;
    color: #000f50;
    font-size: 11px;
	display: flex;
  flex-direction: column;
}

.my-player-card:hover {
  transform: translateY(-2px);
}

/* Highlight logged-in user */
.my-player-you {
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}

/* ===============================
   PLAYER PHOTO
   =============================== */

/*
.player-photo-wrap {
  position: relative;
  width: 100%;

  margin: 0 auto 6px;
	aspect-ratio: 2 / 3;
}

.player-photo-wrap img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}
*/



/* ===============================
   PLAYER PHOTO (BACKGROUND-FIRST)
   =============================== */

.player-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin: 0 auto 6px;

  /* ✅ Default avatar */
  background-image: url("https://darto.in/img/dartoteam/teams-player-avatar.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
  border-radius: 3px;
}

.player-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   PID VERIFIED BADGE
   =============================== */

.pid-badge {
  position: absolute;
  bottom: 9px;
  right: 12px;

  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
	color: var(--accent-aqua);
}

/* ===============================
   PLAYER TEXT
   =============================== */

.my-player-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
	color: #000;
}

.you-tag {
  display: block;
  font-size: 12px;
  color: var(--accent-purple);
	font-weight: 800;
  
}

.my-player-meta {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.my-player-role {
      font-size: 12px;
    color: #666;
    margin-top: 2px;
    font-weight: 700;
}


/* Small phones */
@media (max-width: 480px) {
  .my-team-players {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }

  .my-player-card {
/*    height: 355px;*/
	  height: 100%;
  }
}

/* Tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .my-team-players {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
	
	.my-player-card {
/*    height: 300px;*/
		height: 100%;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .my-team-players {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	  
  }
	
	.my-player-card {
/*    height: 330px;*/
		height: 100%;
  }
}


/* ===============================
   Pcaptain deshboard start 
   =============================== */
.captain-dashboard {
  padding: 16px;
}

/* Header */
.cd-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

#cdRoleBadge {
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* Team Media */
.cd-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.cd-media img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* Players Grid */
.cd-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

/* Player Card */
.cd-player-card {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  position: relative;
}

.cd-player-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.cd-player-name {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  color: #000;
}

.cd-player-role {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

/* PID Badge */
.cd-player-card .pid-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #22c55e;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add Player Box */
.cd-add-player {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.cd-add-player input,
.cd-add-player select {
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.cd-add-player button {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ===============================
   CAPTAIN DASHBOARD HEADER BAND
=============================== */


.captain-team-band {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;
  margin: 9px 12px 12px;

  border-radius: 10px;
/*  background: linear-gradient(90deg, #06204f, #041636);*/
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.captain-team-band .band-left {
  display: flex;
  flex-direction: column;
}

.captain-team-band .team-title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.captain-team-band .team-id {
  font-size: 12px;
  color: #9fb3ff;
  margin-top: 2px;
}

.captain-team-band .band-right {
  display: flex;
  align-items: center;
}

/* ===============================
   CAPTAIN DASHBOARD – TOP TEAM BAND
   (MATCHES MY TEAMS LIST ROW)
=============================== */

.captain-top-band {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 18px;
  margin-bottom: 10px;

  border-radius: 10px;
  cursor: pointer;

  background: linear-gradient(90deg, #06204f, #041636);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.captain-top-band .team-name {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.captain-top-band .toggle {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.captain-team-band .role-badge {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  background: linear-gradient(90deg, #00e6b8, #00c2ff);
  color: #002a3a;
  font-weight: 600;
}

.role-badge.vc {
  background: #ffc107;
}

.role-badge {
  background: linear-gradient(90deg, #00e6b8, #00c2ff);
}


#captain-dashboard-content{
	padding:15px
}

.captain-team-card{
	    background: #000f29;
    border-radius: 8px;
    margin-bottom: 10px;
}

.cap-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;

  font-size: 13px;
  font-weight: 600;

  background: #0a2a66;
  color: #ffffff;

  transition: all 0.2s ease;
}

.cap-btn i {
  font-size: 14px;
}

/* Hover */
.cap-btn:hover {
  background: #123a88;
}

/* Specific buttons */
.add-player-btn {
  background: linear-gradient(90deg, #00e6b8, #00c2ff);
  color: #00303f;
	margin: 3px 18px 3px 18px;
}

.add-player-btn:hover {
  background: linear-gradient(90deg, #00d4aa, #00b3f0);
}

.edit-media-btn {
  background: #243a6b;
}

.edit-media-btn:hover {
  background: #2f4a85;
}


/* ===============================
   PLAYER CARD – BOTTOM ACTIONS
=============================== */

.player-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: auto; /* 👈 ONLY THIS CHANGE */
  padding: 10px 12px 0px 11px;

  border-top: 1px solid rgba(255,255,255,0.08);
}
.player-action-btn {
  background: transparent;
  border: none;
  cursor: pointer;

  font-size: 15px;
  padding: 6px;

  color: #cfd8ff;
  transition: color 0.2s ease, transform 0.15s ease;
}

.player-action-btn:hover {
  transform: scale(1.1);
}

/* Remove (left) */
.player-action-btn.remove-btn {
  color: #ff6b6b;
}

.player-action-btn.remove-btn:hover {
  color: #ff3b3b;
}

/* Edit (right) */
.player-action-btn.edit-btn {
  color: #00c2ff;
}

.player-action-btn.edit-btn:hover {
  color: #00e6ff;
}



/* ===============================
   CAPTAIN PLAYER EDIT POPUP
=============================== */

.cpe-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99998;
}

.cpe-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 480px;
  height: fit-content;

  background: var(--card-background);
  border-radius: 12px;
  padding: 16px;
  z-index: 99999;
  color: #fff;
}

.cpe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
	margin-bottom: 9px;
}

.cpe-player-id {
  font-size: 12px;
  color: #9fb3ff;
}

.cpe-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.cpe-field {
  margin-top: 3px;
}

.cpe-field label {
  font-size: 12px;

/*	color: #666;*/
  display: block;
  margin-bottom: 4px;
}

.cpe-field input {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: none;
	color: #000f29;
	height: 45px;
}


.cpe-locked {
  position: relative;
}

.lock-icon {
  opacity: 0.7;
}

.pid-status.verified {
  color: #00e676;
  font-size: 12px;
}

.cpe-photo img {
  width: 60px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.cpe-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.cpe-team-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cpe-team-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.cpe-team-id {
  font-size: 12px;
  color: #9fb3ff;
}

/* ===============================
   PLAYER EDIT – SUB HEADER INLINE
=============================== */

.cpe-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cpe-sub-header h3 {
  margin: 0;
  font-size: 16px;
}

.cpe-sub-right {
  font-size: 12px;
  color: #9fb3ff;
}

.lock-icon i {
  color: #9fb3ff;
  font-size: 14px;
}

/* ======================================================
   PLAYER EDIT – LOCKED / DISABLED FIELD STYLING
   (Safe, configurable, no JS needed)
====================================================== */

/* Base disabled input style */
.cpe-modal input:disabled {
  background-color: #1a2b55;   /* 🔹 change this */
  color: #9fb3ff;              /* 🔹 change this */
  cursor: not-allowed;
  opacity: 1;                  /* keep text readable */
}

/* Disabled field wrapper (if present) */
.cpe-locked input:disabled {
  border: 1px solid rgba(159,179,255,0.25);
}

/* Lock icon styling */
.cpe-locked .lock-icon i {
  color: #9fb3ff;              /* 🔹 change this */
  font-size: 14px;
}

/* PID Verified text */
.pid-status.verified,
.pid-text-below {
  color: #ec038a;              /* 🔹 verified color */
    font-weight: 800;
}

/* Optional: hover hint (still disabled) */
.cpe-locked:hover input:disabled {
  background-color: #22366f;   /* subtle feedback */
}

input:disabled + .lock-icon


/* Permanently locked (name) */
.cpe-locked.name-lock .lock-icon i {
  color: #ffcc00;
}


/* =====================================
   LOCK ICON VISIBILITY – STATE BASED
===================================== */



/* Show lock icon ONLY when input is disabled */
.cpe-locked input:disabled + .lock-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}



/* ===============================
   PID INLINE ROW
=============================== */

.cpe-pid-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cpe-pid-row input {
  flex: 1;
}

.pid-status {
  font-size: 12px;
  color: #9fb3ff;
  white-space: nowrap;
}

.pid-status.verified {
  color: #00e676;
}

.cpe-error {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 4px;
}



/* ===============================
   INLINE GENDER + AGE WIDTH FIX
=============================== */

.cpe-inline-row {
  display: flex;
  gap: 12px;
}

.cpe-inline-col {
  display: flex;
  flex-direction: column;
}

/* Gender wider than Age */
.cpe-inline-col:first-child {
  flex: 1.4;   /* Gender */
}

.cpe-inline-col:last-child {
  flex: 0.6;   /* Age */
}

/* Make select look like input */
.cpe-inline-col select,
.cpe-inline-col input {
  height: 38px;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 6px;
  box-sizing: border-box;
}

/* Mobile fallback */
/*
@media (max-width: 520px) {
  .cpe-inline-row {
    flex-direction: column;
  }
}
*/


/* =========================================================
   PLAYER EDIT – FOOTER BUTTONS
========================================================= */

.cpe-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding-top: 14px;
  margin-top: 16px;

  border-top: 1px solid rgba(0,0,0,0.08);
}

/* Common button base */
.cpe-footer button {
  flex: 1;
  height: 36px;

  font-size: 14px;
  font-weight: 600;

  border-radius: 36px;
  cursor: pointer;

  transition: all 0.2s ease;
}

/* CANCEL BUTTON */
.cpe-cancel-btn {
  background: var(--error-color);
    border: 2px solid transparent;
    color: #fff;
}

.cpe-cancel-btn:hover {
  background: #ec038a;
	color: #fff;
}

/* UPDATE BUTTON (PRIMARY) */
.cpe-submit-btn {
  background: var(--text-blue-to-darkblue-color);
  border: none;
  color: #000f29;

  box-shadow: 0 4px 12px rgba(0,102,255,0.25);
}

.cpe-submit-btn:hover {
  background: #ec038a;
	color: #fff;
}

/* DISABLED STATE */
.cpe-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}


/* =========================================================
   PHOTO ROW (INLINE)
========================================================= */

.cpe-photo-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* LEFT PREVIEW */
.cpe-photo-preview {
  width: 60px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.cpe-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

/* RIGHT DROP AREA */
.cpe-photo-drop {
  flex: 1;
  height: 90px;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  color: #cfd8ff;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cpe-photo-drop:hover {
  border-color: #00c2ff;
  background: rgba(0,194,255,0.08);
}

/* Drag over */
.cpe-photo-drop.drag-over {
  border-color: #00c2ff;
  background: rgba(0,194,255,0.15);
}

/* ===============================
   CROPper – FORCE VISIBILITY
   =============================== */

.cropper-container {
  position: fixed !important;
  z-index: 999999 !important;
}

.cropper-bg,
.cropper-modal {
  z-index: 999998 !important;
}

.cpe-photo,
.cpe-photo-actions,
.cpe-modal {
  overflow: visible !important;
}

/* ===============================
   PLAYER PHOTO CROPPER – FIX
   =============================== */

/*
#cpp-overlay {
  position: fixed !important;
  inset: 0;
  z-index: 999999 !important;
}

.cpp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 999998;
}

.cpp-modal {
  position: fixed;
  z-index: 999999;
}
*/



/* FULL SCREEN OVERLAY */
#cpp-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* DARK BACKDROP */
.cpp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
	z-index: 999998;
}

/* MODAL WRAPPER */
.cpp-modal {
  position: relative;
  z-index: 999999;
  width: 92vw;
  max-width: 420px;
  height: 90vh;
  max-height: 620px;

  background: #000f50;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cpp-header,
.cpp-footer {
  padding: 12px;
  flex-shrink: 0;
}

.cpp-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #000;
}

.cpp-body img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}