/*--------------------------------------------------------------------- File Name: style.css ---------------------------------------------------------------------*/

/*--------------------------------------------------------------------- import Files ---------------------------------------------------------------------*/

@import url(animate.min.css);
@import url(normalize.css);
@import url(icomoon.css);
@import url(meanmenu.css);
@import url(owl.carousel.min.css);
@import url(slick.css);
@import url(jquery-ui.css);

/*--------------------------------------------------------------------- skeleton ---------------------------------------------------------------------*/

:root {
  --primary-color: #f05a28;
  --primary-hover: #e04a1f;
  --secondary-color: #345d7e;
  --accent-color: #f8961e;
  --light-color: #f8f9fa;
  --dark-color: #301407ff;
  --success-color: #266200ff;
  --danger-color: #d30000ff;
  --warning-color: #f8961e;
  --info-color: #4895ef;
  --border-radius: 10px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  box-sizing: border-box !important;
  transition: ease all 0.5s;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  height: 100%;
}

a {
  color: #1f1f1f;
  text-decoration: none !important;
  outline: none !important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  font-weight: normal;
  position: relative;
  padding: 0 0 10px 0;
  font-weight: normal;
  line-height: normal;
  color: #111111;
  margin: 0;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

h6 {
  font-size: 13px;
}

*,
*::after,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #212121;
  text-decoration: none !important;
  opacity: 1;
}

button:focus {
  outline: none;
}

ul,
li,
ol {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

p {
  margin: 20px;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
}

a {
  color: #222222;
  text-decoration: none;
  outline: none !important;
}

a,
.btn {
  text-decoration: none !important;
  outline: none !important;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

img {
  max-width: 100%;
  height: auto;
}

:focus {
  outline: 0;
}

.paddind_bottom_0 {
  padding-bottom: 0 !important;
}

button {
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.layout_padding {
  padding-top: 100px;
  padding-bottom: 0px;
}

.container-fluid {
  margin-top: 70px;
}

.container-fluid-button-page {
  margin-top: 0px;
}

.page-header {
  font-weight: 500;
  position: sticky;
  top: 60px;
  /* height of the fixed navbar */
  z-index: 99;
  background: #fff;
  padding: 10px 20px;
}

.header_top_section {
  width: 100%;
  display: flex;
  background-color: #0cb7d6;
  height: auto;
  padding: 20px 0px;
}

.header_top_main {
  display: flex;
}

.call_text {
  width: 100%;
  float: left;
  font-size: 16px;
  color: #ffffff;
}

.form_section {
  display: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

.close-btn:hover {
  color: red;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 85%;
  max-width: 1500px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.popup-reg-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 85%;
  max-width: 1500px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  margin-top: 100px;
}

.home_body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-bottom: 300px;
  z-index: -1;
  position: relative;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  /* filter: blur(5px); */
}

.video-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Let clicks pass through if needed */
}

.home_body2 {
  width: 100%;
  height: 100%;
  overflow: scroll;
}

.header_section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: left;
  z-index: -1;
  margin-top: 70px;
}

.header_section::before {
  content: "";
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.header_bg {
  background: #fb6818;
  border-bottom: 1px solid #ffffff;
}

.bg-light {
  background-color: transparent !important;
}

.mr-auto,
.mx-auto {
  margin: 0 auto;
  text-align: center;
}

/* .navbar-nav.ml-auto {
    display: none;
} */

.navbar-light .navbar-nav .nav-link {
  color: #ffffff;
  font-size: 16px;
  text-transform: uppercase;
  padding: 5px 5px 0px 5px;
  margin: 10px 40px 0px 0px;
  border-radius: 5px;
  text-align: center;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
  color: #ffffff;
}

nav img {
  width: 20%;
  height: auto;
}

.nav-link {
  font-weight: bold;
}

.navbar-brand {
  margin: 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  padding: 0px 0px 10px 0px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.custom_bg {
  width: 100%;
  margin: 0 auto;
  display: flex;
}

.custom_menu {
  width: 78%;
  float: left;
  padding: 15px 0px 15px 0px;
}

.custom_menu ul {
  margin: 0px;
  padding: 0px;
}

.custom_menu li a {
  float: left;
  font-size: 16px;
  color: #ffffff;
  padding: 7px 24px 7px 24px;
  text-transform: uppercase;
  margin: 0px 7px;
  border-radius: 5px;
}

.banner_section {
  width: 100%;
  float: left;
  padding-top: 0px;
  /* padding-bottom: 200px; */
}

.shrinked_header {
  background-image: url(../images/banner-bg.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  margin-top: 52px;
}

.shrinked_header2 {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: -1;
  margin-top: 52px;
}

.shrinked_header3 {
  background-image: url(../images/image-1.png);
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  margin-top: 52px;
}

.shrinked_header4 {
  background-image: url(../images/image-4.jpg);
  background-size: cover;
  background-position: 50% 25%;
  background-repeat: no-repeat;
  margin-top: 52px;
}

.shrinked_header5 {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 52px;
}

.banner_taital {
  width: 100%;
  float: left;
  font-size: 40px;
  color: #ffffff;
  font-weight: bold;
  padding-top: 1px;
  text-align: center;
  text-transform: uppercase;
}

.submit-btn {
  min-width: 180px;
  margin: 0 auto;
  float: left;
  font-size: 16px;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  text-transform: uppercase;
  margin: 5px;
}

.submit-btn:hover {
  background-color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  background-color: #ccc;
  color: #666;
}

.calculate-btn {
  background-color: var(--success-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.calculate-btn:hover {
  background-color: #1e4d1c;
  transform: translateY(-2px);
}

.calculate-btn:disabled {
  background-color: #6c757d;
  opacity: 0.65;
  transform: none;
}

.calculate-btn-bouncing {
  animation: bounce 1s infinite;
}

.calculate-btn:not(:disabled) {
  background-color: var(--success-color);
  color: white;
}

.calculate-btn:not(:disabled):hover {
  background-color: #1e4d1c;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }
}

/* T-Shirt Preview */
.tshirt-preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 300px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

#tshirt-div {
  position: relative;
  width: 270px;
  height: 300px;
}

#tshirt-backgroundpicture {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form_box {
  width: 100%;
  float: left;
  background-color: #ffffff;
  padding: 40px;
  position: relative;
  top: -370px;
  box-shadow: 0px 0px 10px 0px;
}

.registration-section {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.form_section_2 {
  width: 100%;
  margin: 0 auto;
  /* padding-top: 20px; */
}

.form_section_3 {
  width: 100%;
  margin: 0 auto;
  max-height: 80vh;
  overflow-y: scroll;
}

.text_field {
  width: 100%;
  height: 40px;
  float: left;
  font-size: 16px;
  color: #393838;
  padding: 3px 15px;
  background-color: #ffffff;
  border-radius: 5px;
  border: 1px solid #cfcfcf !important;
}

.text_field:disabled {
  background-color: #e9ecef;
  cursor: not-allowed;
  color: #6c757d;
  opacity: 0.7;
}

.form-control {
  height: 44px !important;
}

.gj-timepicker.gj-timepicker-bootstrap .input-group-addon {
  background: none;
}

.input-group {
  flex-wrap: unset;
}

.button-container {
  position: absolute;
  top: 70%;
  /* ✅ Adjust this value to position vertically */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  pointer-events: auto;
  /* Allows buttons to be clickable */
}

.button-container button {
  display: inline-block;
  margin: 0 10px;
  font-size: 16px;
}

.margin_top90 {
  margin-top: 90px;
}

.margim_90 {
  margin: 90px 0px;
}

p.label_text {
  width: 100%;
  float: left;
  text-align: left;
  margin: 0px;
  font-size: 16px;
  color: #898989;
  padding-bottom: 10px;
  padding-top: 10px;
}

.loader {
  width: 28px;
  height: 28px;
  border: 5px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.center-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

.logo-container .logo {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.heading-container h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.player-type-container p {
  font-size: 1.2rem;
  font-weight: bold;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f6f6f6;
  min-width: 230px;
  overflow: auto;
  border: 1px solid #ddd;
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

.select2-container {
  width: 260px !important;
}

.bootstrap-table {
  height: 100%;
}

.fixed-height {
  height: calc(100% - 90px) !important;
}

.bootstrap-table.fullscreen {
  margin-top: 80px;
}

.drawing-area {
  position: absolute;
  top: 0px;
  z-index: 10;
  width: 200px;
  height: 350px;
}

.canvas-container {
  width: 200px;
  height: 200px;
  position: relative;
  user-select: none;
}

#tshirt-div {
  width: 270px;
  height: 300px;
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
}

#canvas {
  position: absolute;
  width: 200px;
  height: 300px;
  left: 0px;
  top: 0px;
  user-select: none;
  cursor: default;
}

.banner-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin: 0 5px;
}

/* Icon Colors */
.edit-icon {
  color: #c19512;
}

.disable-icon {
  color: #95202b;
}

.payment-icon {
  color: #606060;
}

.icon-btn:hover {
  opacity: 0.7;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* Alerts */
.fancy-alert {
  font-family: sans-serif;
  color: white;
  width: 78px;
  z-index: 999999;
  /* top: 60px; */
  /* margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0; */
  top: 90px !important;
  right: 10px !important;
  max-width: 450px;
  position: fixed;
  overflow: hidden;
  box-shadow: 0 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  height: 78px;
  background-color: gray;
  transform: scale(0);
  transition: all 0.5s;
}

.fancy-alert.fancy-alert__active {
  opacity: 1;
  top: 20px;
  transform: scale(1);
}

.fancy-alert.fancy-alert__extended {
  width: 800px;
}

.fancy-alert.fancy-alert__extended .fancy-alert--content {
  opacity: 1;
  transition: all 0.5s;
}

.fancy-alert.fancy-alert__extended .fancy-alert--words {
  top: 18px;
  opacity: 1;
}

.fancy-alert.error {
  background-color: #d64646;
}

.fancy-alert.success {
  background-color: #3cb971;
}

.fancy-alert.info {
  background-color: #e8c22c;
}

.fancy-alert a {
  color: white;
  text-decoration: underline;
}

.fancy-alert .fancy-alert--content {
  padding: 10px;
  opacity: 0;
}

.fancy-alert .fancy-alert--words {
  font-size: 16px;
  font-weight: bold;
  padding-left: 15px;
  max-width: 80%;
  position: relative;
  top: -50px;
  opacity: 0;
  height: 60px;
  transition: all 0.3s;
  transition-delay: 0.5s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fancy-alert .fancy-alert--icon {
  padding: 26px;
  float: left;
  font-size: 26px;
  background-color: rgba(3, 3, 3, 0.15);
}

.fancy-alert .fancy-alert--close {
  position: absolute;
  text-decoration: none;
  right: 10px;
  top: 10px;
  font-size: 15px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.12);
}

/* .container {
    text-align: center;
    margin: 200px 0;
} */

.show-alert {
  border: 0;
  background: #f2f2f2;
  padding: 15px 70px;
  font-weight: bold;
  border-radius: 5px;
  border-bottom: 3px solid #c8c8c8;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.23),
    inset 0 -53px 20px -30px rgba(59, 65, 74, 0.06);
  margin: 0 10px;
  font-size: 16px;
  cursor: pointer;
  color: #808080;
  text-shadow: 0 1px #fff;
  outline: 0;
  position: relative;
}

.show-alert:active {
  border: 0;
  box-shadow: none;
  top: 2px;
}

/* Original size */
#tshirt-backgroundpicture {
  transition: transform 0.3s ease;
  /* Smooth transition */
}

/* Zoom effect */
.zoom-in {
  transform: scale(1.1);
  /* Adjust the scale as needed */
}

#attendance_table thead th {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 2;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.new-nav {
  background-color: black;
  width: 100%;
  position: fixed;
  z-index: 50;
}

.new-nav-zindex {
  z-index: 999 !important;
}

.new-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.new-nav-logo {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.new-nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.new-nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.new-nav-item {
  margin: 0 15px;
  font-weight: bold;
}

.new-nav-link {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.new-nav-link:hover {
  transform: scale(1.1);
  color: var(--primary-color);
}

@media (max-width: 950px) {
  .home_body {
    height: auto;
  }

  .home_body2 {
    height: auto;
    padding: 2px;
  }

  .new-nav {
    position: fixed;
    z-index: 50;
  }

  .shrinked_header {
    margin-top: 70px;
  }

  .shrinked_header2 {
    margin-top: 70px;
  }

  .shrinked_header3 {
    margin-top: 70px;
  }

  .shrinked_header4 {
    margin-top: 70px;
  }

  .shrinked_header5 {
    margin-top: 70px;
  }

  .shrinked_header6 {
    margin-top: 70px;
  }

  #back-button-text {
    display: none;
  }

  #next-button-text {
    display: none;
  }

  .user-dropdown {
    right: 40% !important;
  }
}

.form-wrapping {
  flex-direction: row;
}

@media (max-width: 768px) {
  .form-wrapping {
    flex-direction: column;
  }

  .new-nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: black;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
  }

  .new-nav-links.active {
    display: block;
  }

  .new-nav-hamburger {
    display: block;
  }

  .new-nav-item {
    margin: 10px 0;
    text-align: center;
  }
}

.login-box {
  width: fit-content;
  height: fit-content;
  background-color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  align-items: center;
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  padding: 30px;
}

.login-body {
  color: #666666;
  font-size: 16px !important;
  font-family: "Poppins", sans-serif;
  line-height: 1.80857;
  font-weight: normal;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
  margin: 0;
  padding: 0;
  justify-content: space-around;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
  align-items: flex-start;
}

.logout-btn {
  background: none;
  border: none;
  color: red;
  font-size: 16px;
  cursor: pointer;
  text-decoration: underline;
}

.logout-btn:hover {
  color: darkred;
}

.user-menu {
  position: relative;
}

.user-button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}

.user-button:hover {
  color: lightgreen;
}

.user-icon {
  margin-right: 5px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
  z-index: 1;
}

.access-denied-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

#image-preview-container {
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 4px;
  margin-top: 10px;
  text-align: center;
  background-color: #f8f9fa;
}

#image-preview {
  max-width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

/* carousel */
.carousel-control-next,
.carousel-control-prev {
  align-items: center;
  width: 20px;
  /* border-radius: 7px; */
  /* background-color: white; */
  /* padding: 0px 4px; */
  /* background-color: rgba(255, 255, 255, .5); */
}

.carousel-control-next {
  justify-content: end;
  margin-right: 30px;
  right: 17px;
}

.carousel-control-prev {
  justify-content: start;
  margin-left: 4px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  background-color: rgb(37, 100, 35);
}

/* #add-custom-uniform {
    justify-content: end;
    align-items: end;
}

#delete-custom-uniform {
    justify-content: end;
    align-items: end;
} */
.carousel-inner {
  padding-bottom: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 7px;
}

.carousel-indicators li {
  background-color: rgb(37, 100, 35);
}

.carousel-indicators {
  margin-top: 8px;
  opacity: 0.5;
}

#uniformSection {
  height: 150px;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px 10px 0px 10px;
  border-radius: 7px;
}

#uniformSectionAdditional {
  height: 250px;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 10px 10px 0px 10px;
  border-radius: 7px;
}

.uniformSectionStickyFooter {
  position: sticky;
  bottom: 0;
  background-color: rgb(245 246 247);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.bounce-alert {
  animation: bounce 1s infinite;
}

.card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card-header {
  color: var(--dark-color);
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-footer {
  padding: 12px 16px;
  background-color: #f8fafc;
  border-top: 1px solid #edf2f7;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.card-footer .btn {
  padding: 5px 10px;
}

.card-body h4 {
  color: #4a5568;
  font-size: 0.95rem;
  font-weight: 400;
  margin: 0;
  flex-grow: 1;
}

.badge-language {
  background-color: var(--dark-color);
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

#prev-btn,
#next-btn,
#proceed_to_submit {
  margin: 0 10px;
  width: 120px;
}

#next-btn {
  margin-left: auto;
}

#prev-btn {
  margin-right: auto;
}

.badge-editable {
  background-color: var(--success-color);
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.badge-not-editable {
  background-color: var(--danger-color);
  color: white;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 60%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 5px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-color);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6c757d;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--danger-color);
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

/* Add to style.css */
.group-container {
  position: relative;
}

.group-capacity-label {
  position: absolute;
  right: 40px;
  top: 12px;
  font-size: 0.85rem;
  color: #6c757d;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark-color);
}

.form-page {
  width: 100%;
  display: none;
}

.form-page.active {
  display: block;
}

.submit-btn {
  margin: 0 5px;
}

.form-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .popup-box {
    width: 95%;
    padding: 15px;
  }

  .registration-section {
    padding: 15px;
  }

  .form-wrapping {
    flex-direction: column;
  }

  .tshirt-preview-container {
    margin-top: 20px;
  }
}

/* Uniform Prices Modal */
.uniform-prices-modal .popup-box {
  max-width: 600px;
}

.uniform-prices-table {
  width: 100%;
  border-collapse: collapse;
}

.uniform-prices-table th,
.uniform-prices-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.uniform-prices-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

/* Error States */
.is-invalid {
  border-color: var(--danger-color) !important;
}

.invalid-feedback {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 5px;
}

.form-control {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
  outline: none;
}

.form-control[readonly],
.form-control[disabled] {
  background-color: #f5f7fa;
  opacity: 1;
}

.template-preview {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  min-height: 100px;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
  overflow: auto;
}

.variables-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.variables-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.variable-badge {
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.variable-badge.available {
  background-color: var(--primary-color);
  color: white;
}

.variable-badge.used {
  background-color: var(--success-color);
  color: white;
}

.variable-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.char-count {
  font-size: 0.85rem;
  color: #6c757d;
  text-align: right;
  margin-top: -15px;
  margin-bottom: 10px;
}

.char-count.warning {
  color: var(--warning-color);
}

.char-count.error {
  color: var(--danger-color);
}

/* Button Styles */
.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.edit-btn {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: #ac0000ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3);
}

/* Grid Layout */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}

/* Checkbox Styles */
.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 20px;
}

.form-check-label {
  font-weight: 500;
  color: var(--dark-color);
  margin: 0 10px;
}

/* Language Validation Error */
.language-error {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modal-container {
    width: 95%;
  }

  .templates-grid {
    grid-template-columns: 1fr;
  }
}

/* SMS Compose Page Enhancements */
#send_sms_form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
}

/* Header Styles */
.page-header h1 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Configuration Row Enhancements */
.row.mb-4.g-3.align-items-center {
  background-color: #f8f9ff;
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem !important;
  border: 1px solid #e2e8f0;
}

/* Radio Button Styles */
.form-check {
  margin-bottom: 0.5rem;
  padding-left: 1.8rem;
}

.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.15em;
  margin-left: -1.8rem;
  border: 2px solid #adb5bd;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  font-weight: 500;
  color: #4a4e69;
  cursor: pointer;
}

/* Select Dropdown Styles */
.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23345D7E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  cursor: pointer;
  width: 100%;
}

/* Button Enhancements */
#send_button {
  background-color: var(--primary-color);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  height: 42px;
}

#send_button:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 93, 126, 0.3);
}

/* Section Header Enhancements */
.accordion-button {
  font-weight: 600;
  background-color: #f8f9fa;
  padding: 12px 20px;
}

.accordion-button:not(.collapsed) {
  background-color: #e9ecef;
  color: var(--secondary-color);
}

.accordion-button::after {
  margin-left: 10px;
}

.form-control,
.text_field {
  border-radius: 6px;
  padding: 8px 12px;
  border: 1px solid #ced4da;
  transition: all 0.3s;
}

.form-control:focus,
.text_field:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(240, 90, 40, 0.25);
}

.section-header i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* Recipient Search Box */
#recipientSearch {
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  min-width: 150px;
}

#recipientSearch:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

#recipientSearch+.btn {
  border-left: none;
  background-color: white;
  color: #6c757d;
  transition: var(--transition);
}

#recipientSearch:focus+.btn {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Recipient Cards Enhancements */
.recipient-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  background: white;
}

.recipient-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-color);
}

.recipient-card.selected {
  border-color: var(--primary-color);
  background-color: rgba(240, 90, 40, 0.05);
}

/* Select All/Deselect All Buttons */
.btn-sm.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-sm.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-sm.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
}

.btn-sm.btn-outline-secondary:hover {
  background-color: #6c757d;
  color: white;
}

/* Message Editor Enhancements */
#message_content {
  min-height: 175px;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  resize: vertical;
}

#template_content {
  min-height: 100px;
  font-size: 0.95rem;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  resize: vertical;
}

#message_content:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(240, 90, 40, 0.1);
}

.char-counter {
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

/* Message Preview Enhancements */
.message-preview {
  background-color: white;
  border-radius: var(--border-radius);
  min-height: 175px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--box-shadow);
  font-size: 0.95rem;
  padding: 1rem;
  overflow-y: auto;
}

/* Variables Section Enhancements */
.variables-container {
  background-color: #f8f9ff;
  border-radius: var(--border-radius);
  border: 1px solid #e2e8f0;
  padding: 1rem !important;
}

.variable-badge {
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.variable-badge:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 93, 126, 0.2);
}

/* Toast Notification Styles */
.alert-toast {
  position: fixed;
  top: 70px;
  right: 20px;
  min-width: 300px;
  z-index: 1100;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.alert-toast.show {
  opacity: 1;
}

.alert-toast .btn-close {
  padding: 0.5rem;
  font-size: 0.75rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .row.mb-4.g-3.align-items-center>div {
    margin-bottom: 1rem;
  }

  #send_button {
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .card-body {
    padding: 1.25rem;
  }

  .section-header {
    font-size: 1rem;
  }

  .btn {
    padding: 0.5rem 1rem;
  }

  .row.mb-4 {
    flex-direction: column;
  }

  .col-md-4 {
    margin-bottom: 1.5rem;
  }

  #recipientSearch {
    min-width: auto;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.4s ease-out forwards;
}

/* Loading Spinner */
.spinner-border.text-primary {
  color: var(--primary-color) !important;
  width: 1.5rem;
  height: 1.5rem;
  border-width: 0.2em;
}

/* Invalid Feedback */
.invalid-feedback {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Alert Styles */
.alert-warning {
  background-color: rgba(248, 150, 30, 0.1);
  border-color: rgba(248, 150, 30, 0.3);
  color: #856404;
}

.scrollable-container {
  overflow-y: auto;
  max-height: 300px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f8f9fa;
}

#recipient_summary {
  max-height: 100px;
  overflow: scroll;
  scrollbar-width: 1px;
}

/* RTL text direction support */
[dir="rtl"] textarea {
  text-align: right;
  cursor: e-resize;
}

[dir="rtl"] .message-preview {
  text-align: right;
}

/* Ensure cursor stays right for RTL */
textarea[dir="rtl"] {
  text-align: right;
  cursor: e-resize;
}

[dir="rtl"] textarea {
  unicode-bidi: embed;
  /* Ensure proper bidirectional text handling */
}

/* Add this to your style.css */
[dir="rtl"] textarea#message_content {
  text-align: right;
  unicode-bidi: plaintext;
  /* This is key for proper RTL cursor positioning */
  direction: rtl;
}

[dir="rtl"] .message-preview {
  text-align: right;
  direction: rtl;
  unicode-bidi: plaintext;
}

/* Force cursor to right side for RTL */
[dir="rtl"] textarea#message_content {
  caret-color: auto;
}

/* Ensure the button column stays fixed width */
.col-md-3.d-flex.align-items-end {
  min-width: 120px;
  /* Adjust as needed */
  flex: 0 0 auto;
}

/* Make the template selection section take remaining space */
.col-md-9#template_selection_section {
  flex: 1;
}

/* For RTL languages */
[dir="rtl"] .col-md-3.d-flex.align-items-end {
  order: 2;
}

[dir="rtl"] .form-check {
  padding-right: 1.8rem;
  padding-left: 0;
}

[dir="rtl"] .form-check-input {
  margin-right: -1.8rem;
  margin-left: 0;
  float: right;
}

[dir="rtl"] .form-check-label {
  margin-right: 10px;
  margin-left: 0;
}

/* Add to style.css */
[dir="rtl"] .col-md-2,
[dir="rtl"] .col-md-3,
[dir="rtl"] .col-md-4 {
  float: right;
}

[dir="rtl"] .input-group {
  flex-direction: row-reverse;
}

[dir="rtl"] .input-group .btn {
  border-radius: 0.25rem 0 0 0.25rem !important;
  border-right: 1px solid #ced4da;
  border-left: none;
}

[dir="rtl"] .input-group input {
  border-radius: 0 0.25rem 0.25rem 0 !important;
  border-left: 1px solid #ced4da;
  border-right: none;
}

[dir="rtl"] .d-flex.justify-content-between {
  flex-direction: row-reverse;
}

[dir="rtl"] .invalid-feedback {
  text-align: right;
}

.search-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-box input {
  padding-left: 35px;
  border-radius: 20px;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #6c757d;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-btn {
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  border: 1px solid #dee2e6;
  background: white;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active {
  background: #301407ff;
  color: white;
  border-color: #301407ff;
}

.filter-btn:hover {
  background: #f8f9fa;
}

.filter-btn.active:hover {
  background: #301407ff;
}

/* Player Card Styles */
.player-card-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-card-container {
  width: 100%;
  max-width: 600px;
  padding: 20px;
}

.player-card-box {
  background: white;
  min-height: 550px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.player-card-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  z-index: 10;
}

.player-card-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-bottom: 1px solid #eee;
}

.player-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.player-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-title {
  margin-left: 20px;
}

.player-title h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.player-id {
  margin: 5px 0 0;
  color: #666;
  font-size: 0.9rem;
}

.player-card-tabs {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
}

.tab-btn {
  padding: 10px 15px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  transition: all 0.3s;
}

.tab-btn.active {
  color: #3498db;
  border-bottom-color: #3498db;
}

.player-card-content {
  padding: 20px;
  height: calc(100% - 150px);
  overflow-y: auto;
  position: relative;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.info-row {
  display: flex;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.info-group {
  flex: 1;
  min-width: 150px;
  margin-bottom: 10px;
}

.info-group.full-width {
  flex: 0 0 100%;
}

.info-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 3px;
}

.info-value {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 5px;
  min-height: 36px;
  word-break: break-word;
}

.map-icon {
  margin-left: 10px;
  color: #e74c3c;
  font-size: 18px;
}

.player-card-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: right;
}

.player-card-btn {
  padding: 8px 20px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.player-card-btn:hover {
  background: #2980b9;
}

.edit-player-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.edit-player-container {
  width: 100%;
  max-width: 800px;
  padding: 20px;
}

.edit-player-box {
  background: white;
  min-height: 650px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.edit-player-header {
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-bottom: 1px solid #eee;
  justify-content: space-between;
}

.edit-player-title {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
}

.edit-player-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
}

.edit-player-content {
  padding: 20px;
  height: calc(100% - 150px);
  overflow-y: auto;
}

.edit-image-container {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
}

.edit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.edit-image-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.edit-image-btn:hover {
  background: var(--primary-hover);
}

.edit-player-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  text-align: right;
}

.edit-player-btn {
  padding: 8px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.edit-player-btn:hover {
  background: var(--primary-hover);
}

.edit-player-form-group {
  margin-bottom: 15px;
}

.edit-player-form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--dark-color);
}

.edit-player-form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

.edit-player-form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

.edit-player-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.edit-player-col {
  flex: 1;
  min-width: 200px;
  padding: 0 10px;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .edit-player-col {
    flex: 0 0 100%;
  }
}

/*Accounting Chart*/
.chart-value-labels {
  margin-top: 15px;
  text-align: center;
  margin-left: 70px;
}

.value-label {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.category-label {
  color: #666;
  font-size: 14px;
}

/* Schedule Popup Styles */
.schedule-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.schedule-popup.active {
  opacity: 1;
  visibility: visible;
}

.schedule-popup-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.schedule-popup.active .schedule-popup-content {
  transform: translateY(0);
}

.schedule-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.schedule-popup-title {
  margin: 0;
  font-size: 1.2rem;
}

.schedule-popup-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-item {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-day {
  font-weight: 600;
  color: #333;
}

.schedule-time {
  color: #666;
}

/* Button Styles */
.btn-schedule {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-schedule:hover {
  background-color: #5a6268;
  color: white;
}

.btn-schedule i {
  margin-right: 5px;
}

/* Config Variables Page Styles */
.uniform-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.uniform-badge {
  background-color: #e9ecef;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  white-space: nowrap;
}

.uniform-editor-container {
  border: 1px solid #dee2e6;
  padding: 15px;
  border-radius: 5px;
  background-color: #f8f9fa;
}

.uniform-item {
  margin-bottom: 10px;
}

.uniform-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.uniform-col {
  flex: 1;
}

.uniform-col:last-child {
  flex: 0 0 40px;
}

.search-box {
  position: relative;
  max-width: 300px;
  margin-left: auto;
}

.search-box input {
  padding-left: 35px;
}

.search-box .fa-search {
  position: absolute;
  left: 12px;
  top: 10px;
  color: #6c757d;
}

.icon-container {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.icon-btn {
  background: none;
  border: none;
  color: #007bff;
  padding: 5px;
  cursor: pointer;
}

.icon-btn:hover {
  color: #0056b3;
}

.edit-icon {
  color: #17a2b8;
}

.modal-lg {
  max-width: 800px;
}

.uniform-item-preview {
  display: inline-block;
  background: #f0f8ff;
  padding: 3px 8px;
  margin: 2px;
  border-radius: 4px;
  border: 1px solid #d0e3ff;
}

.array-preview {
  padding-left: 20px;
  margin: 0;
}

.object-preview {
  background: #f9f9f9;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #eee;
}

.object-entry {
  display: flex;
  margin-bottom: 4px;
}

.object-key {
  font-weight: 600;
  margin-right: 8px;
  min-width: 100px;
}

/* Modal improvements */
.uniform-editor-container {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 5px;
  background: #f9f9f9;
}

.uniform-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-end;
}

.uniform-col {
  flex: 1;
}

.uniform-col:last-child {
  flex: 0 0 40px;
}

/* Value display styles */
.uniforms-display {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.uniform-item {
  background: #f0f8ff;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #d0e3ff;
}

.uniform-type {
  font-weight: 600;
  margin-right: 5px;
}

.uniform-price {
  color: #28a745;
}

.levels-list {
  padding-left: 20px;
  margin: 0;
}

.level-name {
  font-weight: 600;
}

.level-desc {
  color: #6c757d;
  font-size: 0.9em;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.badge-payment {
  background: #e9ecef;
  color: #495057;
  font-weight: normal;
}

.due-date-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.due-date-option .days {
  font-weight: 600;
  margin-right: 5px;
}

.phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number .fa-phone {
  color: #6c757d;
}

.simple-list {
  padding-left: 20px;
  margin: 0;
}

.object-display {
  background: #f8f9fa;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #e9ecef;
}

.object-row {
  display: flex;
  margin-bottom: 4px;
}

.object-key {
  font-weight: 600;
  min-width: 120px;
}

/* Editor styles */
.uniform-editor,
.levels-editor,
.payment-methods-editor {
  border: 1px solid #dee2e6;
  padding: 15px;
  border-radius: 5px;
  background: #f8f9fa;
}

.method-item,
.level-item {
  display: flex;
  align-items: center;
  padding: 8px;
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-bottom: 8px;
}

.method-item input,
.level-item input {
  flex-grow: 1;
  margin-right: 8px;
}

.config-edit-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 30px;
}

.config-value-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.config-value-item input {
  margin-right: 10px;
  flex: 1;
}

.config-value-item button {
  background-color: #951622;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
}

.config-value-item button:hover {
  background-color: #7a121b;
}

.add-item-btn {
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  margin-top: 10px;
  cursor: pointer;
}

.add-item-btn:hover {
  background-color: #218838;
}

.save-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: bold;
}

.save-btn:hover {
  background-color: #0069d9;
}

.config-description {
  color: #6c757d;
  font-style: italic;
  margin-bottom: 15px;
}

.uniform-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.uniform-row input {
  flex: 1;
}

.due-date-section {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.due-date-section h5 {
  margin-bottom: 15px;
  color: #343a40;
}

.due-date-option {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.close-btn:hover {
  color: #dc3545;
}

/* Registration Type Toggle */
.registration-type-toggle {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.registration-type-option {
  flex: 1;
}

.registration-type-option input {
  display: none;
}

.registration-type-option label {
  display: block;
  padding: 0.75rem 1rem;
  background-color: #f1f1f1;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.registration-type-option input:checked+label {
  color: white;
  box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

/* Accordion Styles */
.accordion {
  margin-bottom: 1.5rem;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: #f8f9fa;
}

.accordion-button {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  background-color: #f8f9fa;
  border: none;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s;
}

.accordion-button:hover {
  background-color: #e9ecef;
}

.accordion-button.active {
  background-color: #e9ecef;
}

.accordion-button i {
  margin-right: 0.5rem;
  transition: transform 0.3s;
}

.accordion-button.collapsed i {
  transform: rotate(0deg);
}

.accordion-button:not(.collapsed) i {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 1.5rem;
  background-color: white;
}

.form-section {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
}

.info-icon {
  color: #6c757d;
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.info-icon:hover {
  color: #3498db;
}

/* Input Fields */
.form-group {
  margin-bottom: 1rem;
}

.label_text {
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control,
.text_field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus,
.text_field:focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
  outline: none;
}

.text_field[disabled] {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 500;
}

.group-card {
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.group-card .card-body {
  display: none;
  padding: 1.25rem;
}

.group-card.expanded .card-body {
  display: block;
}

.group-card .card-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.group-card .card-header h3 {
  margin: 0;
}

.group-card .expand-icon {
  transition: transform 0.3s ease;
}

.group-card.expanded .expand-icon {
  transform: rotate(180deg);
}

.course-card {
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.course-card .card-body {
  display: none;
  padding: 1.25rem;
}

.course-card.expanded .card-body {
  display: block;
}

.course-card .card-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-card .card-header h3 {
  margin: 0;
}

.course-card .expand-icon {
  transition: transform 0.3s ease;
}

.course-card.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Add this to your CSS */
.tooltip-inner {
  max-width: 200px;
  padding: 5px 10px;
  font-size: 14px;
}

.icon-btn {
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.icon-btn:hover {
  opacity: 0.8;
}

.icon-container {
  display: flex;
  gap: 8px;
  justify-content: center;
}


/* Add to your existing style block */
.select2-container--default .select2-selection--single {
  height: 45px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 45px;
  padding-left: 15px;
  padding-right: 30px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px;
  right: 8px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #007bff;
  color: white;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #f8f9fa;
  color: #495057;
}

.select2-container--default .select2-results>.select2-results__options {
  max-height: 300px;
  overflow-y: auto;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 12px;
}

.select2-container--default .select2-results__option {
  padding: 8px 12px;
}

.select2-dropdown {
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.select2-container .select2-dropdown {
  z-index: 20000 !important;
}

#playerDropdown {
  appearance: auto !important;
  pointer-events: auto !important;
}



/* Player login / profile / forget password */
/* RTL Support */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .info-label {
  text-align: left;
  margin-left: 15px;
  margin-right: 0;
}


[dir="rtl"] .player-card-tabs {
  flex-direction: row-reverse;
}

[lang="ar"] {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* reset password confirm */
.success-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f05a28 0%, #345d7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.success-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 500px;
  padding: 30px;
  text-align: center;
}

.success-icon {
  font-size: 64px;
  color: #28a745;
  margin-bottom: 20px;
}

.password-display {
  background-color: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: #155724;
}

.btn-login {
  background-color: #f05a28;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 20px;
}

.btn-login:hover {
  background-color: #e04a1f;
}

.warning-text {
  color: #856404;
  font-size: 14px;
  margin-top: 15px;
}

/* reset password request */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f05a28 0%, #345d7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  padding: 30px;
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo img {
  max-width: 120px;
  margin-bottom: 15px;
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.btn-login {
  background-color: #f05a28;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font-weight: 600;
  margin-top: 10px;
}

.btn-login:hover {
  background-color: #e04a1f;
}

.login-links {
  text-align: center;
  margin-top: 20px;
}

.login-links a {
  color: #f05a28;
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}

/* Player login */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #f05a28 0%, #345d7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 400px;
  padding: 30px;
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo img {
  max-width: 120px;
  margin-bottom: 15px;
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.btn-login {
  background-color: #f05a28;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  font-weight: 600;
  margin-top: 10px;
}

.btn-login:hover {
  background-color: #e04a1f;
}

.login-links {
  text-align: center;
  margin-top: 20px;
}

.login-links a {
  color: #f05a28;
  text-decoration: none;
}

.login-links a:hover {
  text-decoration: underline;
}


/* Player profile */
.profile-container {
  min-height: 100vh;
  background-color: #f8f9fa;
  margin-top: 60px;
}

.profile-header {
  background: linear-gradient(135deg, #f05a28 0%, #345d7e 100%);
  color: white;
  padding: 30px 0;
  margin-bottom: 30px;
}

.profile-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.profile-card-header {
  background-color: #345d7e;
  color: white;
  padding: 15px 20px;
  font-weight: 600;
}

.profile-card-body {
  padding: 20px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.info-row {
  display: flex;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.info-label {
  font-weight: 600;
  color: #345d7e;
  min-width: 150px;
}

.info-value {
  flex: 1;
}

.btn-profile {
  background-color: #f05a28;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 500;
}

.btn-profile:hover {
  background-color: #e04a1f;
}

.payment-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-paid {
  background-color: #d4edda;
  color: #155724;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

/* Tab styles matching the player card */
.player-card-tabs {
  display: flex;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #6c757d;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: #f05a28;
}

.tab-btn.active {
  color: #f05a28;
  font-weight: 600;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f05a28;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.freeze-btn, .unfreeze-btn {
    background: transparent;
    border: none;
    padding: 5px;
    margin: 0 2px;
    cursor: pointer;
}

.freeze-btn:hover {
    color: #ffc107 !important;
}

.unfreeze-btn:hover {
    color: #28a745 !important;
}

.freezing-date {
    margin-left: 5px;
    font-size: 12px;
    color: #17a2b8;
}

.freeze-details p {
    margin-bottom: 10px;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.freeze-details p:last-child {
    border-bottom: none;
}