@import url('https://fonts.googleapis.com/css2?family=Kufam:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Style+Script&display=swap');

/* Modern Design Updates */
:root {
  --primary-color: #004777;
  --secondary-color: #086da4;
  --background-color: #f8fafc;
  --card-background: #ffffff;
  --text-color: #1f2937;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.navbar {
  padding: 30px 0px 30px 0px;
}

.navbar-brand img {
  height: 80px;
}

#wrapper {
  background-color: #402f29;
  background-position: center;
  color: #121212;
}

.title h1:first-child {
  padding: 50px 0px 0px 0px;
}

.title h1:nth-child(2) {
  padding: 0px 0px 20px 0px;
}

.title div {
  margin: 0px 0px 20px 0px;
}

.title p {
  text-align: 12px;
  font-weight: 300;
  margin: 0px 60px 30px 60px;
}

.order-numbers::marker {
  font-size: 1.25rem;
  font-weight: 500;
}

.order-numbers {
  margin: 10px 0px 10px 0px;
}

.card-body ul li {
  list-style-type: disc;
}

.ts-footer {
  background: #fff;
  padding: 20px 0;
}

.copyright-text p {
  margin-bottom: 0;
  color: #000;
  text-align: center;
}

.footer {
  font-size: 13px;
  color: #59626D;
  background: #3a116d;
}

.footer__inner {
  border-top: 1px solid #D5DCE5;
  padding: 10px 0;
}

.footer__item:not(:last-child) {
  border-bottom: 1px solid #D5DCE5;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.form-submit {
  background-color: #159bd7;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
}

#signature-area {
  display: block;
  width: 100%;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #121212;
  background-color: #fff;
  background-image: none;
  background-clip: padding-box;
  border: 1px solid #ccecf7;
  border-radius: 0;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.top-bar {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  text-align: center;
  height: 100px;
  width: 100%;
  height: 100%;
}

/* Modern Tab Navigation */
.tab-container {
  background-color: #ccecf7;
  padding: 4px;
  border-radius: 100px;
  display: inline-flex;
  gap: 4px;
}

.tab-btn {
  padding: 12px 24px;
  border-radius: 100px;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: white;
  opacity: 1;
}

.tab-btn:not(.active):hover {
  background-color: #afe3f4;
  color: var(--text-color);
}

/* Modern Card Design */
#wrapper .background {
  background-image: url('../images/bg.jpg');
  background-size: contain;
  background-position: right;
  background-repeat: no-repeat;
}

.registration {
  margin: 40px 0;
  height: calc(100vh - 50px);
}

.user-attendance .registration {
  height: auto;
}

.registration-card {
  padding: 2rem;
  padding-bottom: 20px;
}

/* Form Elements */
.form-floating {
  margin-bottom: 0;
}

.form-control {
  border: none;
  border-bottom: 1px solid #F9B218;
  background: transparent;
  padding: 8px;
  padding-left: 30px;
  color: #fff;
  width: 100%;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  background: transparent;
  border-color: #121212;
  color: #fff !important;
  box-shadow: none;
}

.form-control::placeholder {
  color: #fff;
  opacity: 1;
}

.form-group {
  margin-bottom: 1.9rem !important;
}

.form-group span {
  top: 10px;
}

.form-group span svg {
  color: #fff;
  font-weight: 600;
}

.user-attendance .form-group span {
  left: 5px;
}

.form-floating label {
  padding: 0.75rem 1rem;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: transparent !important;
  color: #fff !important;
}

/* Submit Button */
.btn-primary,
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
  background-color: #F9B218 !important;
  color: var(--primary-color) !important;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
}

.btn-primary:focus,
.btn-primary:not([disabled]):not(.disabled):active {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  outline: none;
  box-shadow: none;
  border: none;
}

select.form-control {
  height: 100% !important;
}

a:hover {
  text-decoration: none;
}

.user-attendance .form-group span.signature-text {
  font-family: 'Style Script', cursive;
  z-index: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
}

.accept-policy {
  font-size: 14px;
}

.btn-submit {
  background-color: #F9B218;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.btn-submit:hover {
  background-color: #F9B218;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .registration-card {
    padding: 0.5rem 1.5rem;
  }

  .registration {
    height: 100% !important;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 0;
  }

  .background {
    display: none;
  }

  .tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .form-group {
    margin-bottom: 1.2rem !important;
  }

  .btn-submit {
    width: 100%;
  }
}

/* Form Select Elements */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  appearance: none;
}

select.form-control option {
  background-color: #f0f0f0;
  color: #333;
}

/* Error States */
.form-control.is-invalid {
  border-color: #dc2626;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc2626'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc2626' stroke='none'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media (min-width: 1281px) {
  .header {
    font-size: 32px;
  }
}


/* 
	##Device = Laptops, Desktops
	##Screen = B/w 1025px to 1280px
  */

@media (min-width: 1025px) and (max-width: 1280px) {
  .header {
    font-size: 30px;
  }

  .accept-policy-group.form-group {
    margin-bottom: 0.5rem !important;
  }

  .registration-card {
    padding: 1rem !important;
  }

  .registration {
    height: calc(100vh - 200px);
  }
}


/* 
	##Device = Tablets, Ipads (portrait)
	##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) {
  .speaker-shap {
    display: none;
  }

  .header {
    font-size: 22px;
  }
}


/* 
	##Device = Tablets, Ipads (landscape)
	##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* CSS */
}


/* 
	##Device = Low Resolution Tablets, Mobiles (Landscape)
	##Screen = B/w 481px to 767px
  */

@media (min-width: 481px) and (max-width: 767px) {

  .container,
  .container-sm {
    max-width: 700px;
  }

  .copyright-text {
    font-size: 14px;
  }

  .order-numbers h5 {
    font-size: 18px;
  }

  .card-body ol ol li {
    font-size: 14px;
  }

  .footer-logo {
    text-align: center !important;
    margin: 10px 0;
  }
}

/* 
	##Device = Most of the Smartphones Mobiles (Portrait)
	##Screen = B/w 320px to 479px
  */
@media (max-width: 991px) {
  canvas {
    height: 240px !important;
  }

  .registration {
    height: 100% !important;
    margin-top: 30px;
    margin-bottom: 40px;
    padding: 0;
  }

  .background {
    display: none;
  }

  .header {
    font-size: 25px;
  }

  .registration {
    height: auto !important;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .footer-logo {
    text-align: center !important;
    margin: 10px 0;
  }

  .navbar-brand img {
    height: 80px;
  }

  .container,
  .container-sm {
    max-width: 700px;
  }

  .order-numbers h5 {
    font-size: 18px;
  }

  .card-body ol ol li {
    font-size: 14px;
  }

  .copyright-text {
    font-size: 14px;
  }

  .header {
    font-size: 18px;
  }

  .accept-policy {
    font-size: 12px;
  }
}