/* Content Variables */
/* Header Variables */
/* Login Variables */
/* Form Variables */
/* Button Variables */
* {
  box-sizing: border-box;
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
}

body, html {
  background-color: #f3f4f7;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
  overflow-y: auto; /* Show scrollbar only when needed */
  width: 100%;
  max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  color: #474b50;
}

.form {
  display: flex;
  flex-flow: column;
  width: 100%;
}
.form .form-label {
  display: block;
  padding: 20px 0 10px 0;
  font-weight: 500;
  font-size: 14px;
  color: #474b50;
}
.form .form-group {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.form .form-group .form-icon-left, .form .form-group .form-icon-right {
  fill: #c1c6cb;
  width: 40px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  pointer-events: none;
}
.form .form-group .form-icon-left {
  left: 0;
}
.form .form-group .form-icon-left + .form-input {
  padding-left: 40px;
}
.form .form-group .form-icon-right {
  right: 0;
}
.form .form-group .form-icon-right + .form-input {
  padding-right: 40px;
}
.form .form-group:focus-within .form-icon-left {
  fill: #98a0a8;
}
.form .form-input {
  width: 100%;
  height: 43px;
  border: 1px solid #dee2e6;
  padding: 0 15px;
  border-radius: 4px;
  outline: 0;
  color: #000;
}
.form .form-input::placeholder {
  color: #98a0a8;
}
.form .form-input:focus {
  box-shadow: 0 0 0 3px #c7def7;
  border: 1px solid #75b3f1;
}
.form .form-link {
  color: #2a77eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}
.form .form-link:hover {
  color: #135ac5;
}
.form #remember_me {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #474b50;
  user-select: none;
}
.form #remember_me input {
  margin: 0 10px 0 0;
  transform: scale(1.1);
  opacity: 0.5;
}
.form #remember_me input:checked {
  opacity: 1;
}
.form p.register-link {
  margin: 0;
  padding: 20px 0 0 0;
  font-size: 14px;
  color: #6b7179;
}
.form div.msg {
  font-size: 14px;
  font-weight: 500;
}
.form div.msg.success {
  padding: 0 0 20px 0;
  color: #0da74d;
}
.form div.msg.success .form-link {
  color: #0b6430;
}
.form div.msg.success .form-link:hover {
  color: #06361a;
}
.form div.msg.error {
  padding: 0 0 20px 0;
  color: #c21e13;
}
.form div.msg.error .form-link {
  color: #74160b;
}
.form div.msg.error .form-link:hover {
  color: #450d07;
}
.form .captcha {
  display: flex;
  padding-bottom: 20px;
}
.form .captcha img {
  min-width: 150px;
}
.form .captcha input {
  height: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form .fb-btn, .form .gl-btn {
  display: flex;
  text-decoration: none;
  position: relative;
  border-radius: 4px;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  width: 100%;
  margin: 15px 0 0 0;
  padding: 15px;
  transition: background-color 0.2s;
}
.form .fb-btn svg, .form .gl-btn svg {
  position: absolute;
  left: 15px;
  fill: #fff;
}
.form .fb-btn:hover, .form .gl-btn:hover {
  color: #fff;
  transition: background-color 0.2s;
}
.form .fb-btn {
  background-color: #507CBF;
}
.form .fb-btn:hover {
  background-color: #426fb4;
}
.form .gl-btn {
  background-color: #d6523e;
}
.form .gl-btn:hover {
  background-color: #cf412c;
}
.form.form-small {
  max-width: 300px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  appearance: none;
  cursor: pointer;
  border: 0;
  background: #26313d;
  color: #FFFFFF;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  height: 38px;
  box-shadow: 0px 0px 6px 1px rgba(45, 54, 68, 0.1);
  position: relative;
}
.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-spinner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-spinner svg {
  width: 16px;
  height: 16px;
}
.btn:hover {
  background: #202934;
}
.btn:disabled:hover {
  background: #26313d;
}
.btn.blue {
  background: #2873cf;
}
.btn.blue:hover {
  background: #266cc2;
}
.btn.green {
  background: #4ab46d;
}
.btn.green:hover {
  background: #46a966;
}
.btn.red {
  background: #be4949;
}
.btn.red:hover {
  background: #b74141;
}
/* New COLOR BUTTONS ADD HERE */
.btn.purple {
  background: #7d3c98;
  color: #fff;
}
.btn.purple:hover {
  background: #6c3087;
}

.btn.teal {
  background: #16a085;
  color: #fff;
}
.btn.teal:hover {
  background: #138d75;
}

.btn.yellow {
  background: #f4d03f;
  color: #222;
}
.btn.yellow:hover {
  background: #dfba27;
  color: #222;
}

.btn.orange {
  background: #ffa600;
  color: #222;
}
.btn.orange:hover {
  background: #e69500;
  color: #222;
}

.btn.pink {
  background: #e75480;
  color: #fff;
}
.btn.pink:hover {
  background: #d13c68;
}

.btn.dark {
  background: #17202a;
  color: #fff;
}
.btn.dark:hover {
  background: #11181f;
}

.btn.gray {
  background: #5f6a72;
  color: #fff;
}
.btn.gray:hover {
  background: #4a5258;
}

.btn.light {
  background: #f8f9fa;
  color: #26313d;
  border: 1px solid #d4dbde;
}
.btn.light:hover {
  background: #eef1f2;
  color: #26313d;
}

.btn.brown {
  background: #a0522d;
  color: #fff;
}
.btn.brown:hover {
  background: #7a3a1c;
}

.btn.cyan {
  background: #00bcd4;
  color: #fff;
}
.btn.cyan:hover {
  background: #019ab5;
}

.btn.lime {
  background: #b4e129;
  color: #26313d;
}
.btn.lime:hover {
  background: #a1cd22;
  color: #26313d;
}

.btn.indigo {
  background: #3f51b5;
  color: #fff;
}
.btn.indigo:hover {
  background: #2e3b88;
}

/* New COLOR BUTTONS END HERE */
.btn.alt {
  color: #75797e;
  border: 1px solid #d4dbde;
  box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, 0.03);
  background: #f1f3f4;
}
.btn.alt:hover {
  background: #eef1f2;
}
.btn.disabled {
  background: #b1b3b4;
}
.btn.disabled:hover {
  background: #a9abad;
}
.btn.small {
  padding: 8px 12px;
  font-size: 12px;
}
.btn .loader,
.btn .loader::after {
  width: 15px;
  height: 15px;
}
.btn .loader {
  margin: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.4);
  border-right: 2px solid rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  border-left: 2px solid rgba(255, 255, 255, 0.9);
}

.login-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

.login-image {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}

.login-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.login, .register {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}

.login form, .register form {
  display: flex;
  flex-flow: column;
  width: 450px;
  max-width: 95%;
  background-color: #ffffff;
  box-shadow: 0px 0px 7px 1px rgba(45, 54, 68, 0.05);
  border-radius: 5px;
  margin: 0;
  padding: 35px;
}
.login .icon, .register .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  margin: 5px auto 0 auto;
  border-radius: 50%;
  background-color: #e2e7ee;
}
.login .icon svg, .register .icon svg {
  fill: #fff;
}
.login h1, .register h1 {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  padding: 20px 0 10px 0;
  margin: 0;
}
.login .btn[type=submit], .register .btn[type=submit] {
  height: 42px;
}

.header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  height: 60px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #4a90e2;
  position: relative;
}
.header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4a90e2 20%, #4a90e2 80%, transparent);
  opacity: 0.5;
}
.header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin: 0;
  width: 100%;
  padding: 0 30px;
  height: 100%;
}
.header .wrapper h1, .header .wrapper a, .header .wrapper label {
  display: inline-flex;
  align-items: center;
}
.header .wrapper h1 {
  font-size: 20px;
  padding: 0;
  margin: 0;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.header .wrapper h1 i {
  color: #4a90e2;
  margin-right: 10px;
  font-size: 24px;
}
.header .wrapper label, .header .wrapper input[type=checkbox] {
  display: none;
}
.header .wrapper label {
  cursor: pointer;
  position: relative;
  height: 40px;
  width: 50px;
  text-decoration: none;
  margin-right: 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.header .wrapper label::before, .header .wrapper label::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 20px;
  height: 2px;
  background-color: #87919e;
  transition: all 0.3s ease;
}
.header .wrapper label::after {
  top: 26px;
}
.header .wrapper label:hover, .header .wrapper label:active, .header .wrapper input[type=checkbox]:checked ~ label {
  background-color: rgba(74, 144, 226, 0.2);
}
.header .wrapper label:hover::before, .header .wrapper label:hover::after, .header .wrapper label:active::before, .header .wrapper label:active::after, .header .wrapper input[type=checkbox]:checked ~ label::before, .header .wrapper input[type=checkbox]:checked ~ label::after {
  background-color: #4a90e2;
}
.header .wrapper .menu {
  display: flex;
  align-items: center;
  gap: 5px;
}
.header .wrapper .menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  border-radius: 8px;
  padding: 0 16px;
  margin: 0;
  text-decoration: none;
  color: #b0b0b0;
  font-weight: 500;
  font-size: 15px;
  line-height: 16px;
  transition: all 0.3s ease;
  position: relative;
}
.header .wrapper .menu a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #4a90e2;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.header .wrapper .menu a svg {
  fill: #b0b0b0;
  margin: 2px 8px 0 0;
  transition: all 0.3s ease;
}
.header .wrapper .menu a.alt {
  color: #4a90e2;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.3);
}
.header .wrapper .menu a.alt svg {
  fill: #4a90e2;
}
.header .wrapper .menu a:hover, .header .wrapper .menu a:active, .header .wrapper .menu a.active {
  color: #fff;
  background-color: rgba(74, 144, 226, 0.2);
  transform: translateY(-2px);
}
.header .wrapper .menu a:hover::after, .header .wrapper .menu a:active::after, .header .wrapper .menu a.active::after {
  transform: scaleX(1);
}
.header .wrapper .menu a:hover svg, .header .wrapper .menu a:active svg, .header .wrapper .menu a.active svg {
  fill: #4a90e2;
}
.header .wrapper .menu a.active {
  background-color: rgba(74, 144, 226, 0.25);
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}
.header .wrapper .menu a:last-child {
  margin-right: 0;
}

.content {
  width: 1250px;
  margin: 0 auto;
}
.content .page-title {
  display: flex;
  align-items: center;
  padding: 25px 0 10px 0;
}
.content .page-title .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3dc4ad;
  color: #FFFFFF;
  margin-right: 20px;
  border-radius: 50%;
  height: 55px;
  width: 55px;
  min-height: 55px;
  min-width: 55px;
}
.content .page-title .icon svg {
  fill: #fff;
}
.content .page-title h2 {
  margin: 0;
  padding: 0 0 7px 0;
  font-size: 20px;
  font-weight: 600;
  color: #53585e;
}
.content .page-title p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #777e86;
}
.content .block {
  box-shadow: 0px 0px 7px 1px rgba(45, 54, 68, 0.05);
  margin: 25px 0;
  padding: 25px;
  border-radius: 5px;
  background-color: #fff;
}
.content .block p {
  padding: 7px;
  margin: 0;
}
.content .profile-detail {
  display: flex;
  flex-flow: column;
  font-size: 18px;
  padding: 5px 0;
}
.content .profile-detail strong {
  display: block;
  color: #92979e;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.pad-1 {
  padding: 5px;
}

.mar-1 {
  margin: 5px;
}

.pad-2 {
  padding: 10px;
}

.mar-2 {
  margin: 10px;
}

.pad-3 {
  padding: 15px;
}

.mar-3 {
  margin: 15px;
}

.pad-4 {
  padding: 20px;
}

.mar-4 {
  margin: 20px;
}

.pad-5 {
  padding: 25px;
}

.mar-5 {
  margin: 25px;
}

.pad-bot-1 {
  padding-bottom: 5px;
}

.pad-top-1 {
  padding-top: 5px;
}

.pad-left-1 {
  padding-left: 5px;
}

.pad-right-1 {
  padding-right: 5px;
}

.pad-x-1 {
  padding-left: 5px;
  padding-right: 5px;
}

.pad-y-1 {
  padding-top: 5px;
  padding-bottom: 5px;
}

.mar-bot-1 {
  margin-bottom: 5px;
}

.mar-top-1 {
  margin-top: 5px;
}

.mar-left-1 {
  margin-left: 5px;
}

.mar-right-1 {
  margin-right: 5px;
}

.mar-x-1 {
  margin-left: 5px;
  margin-right: 5px;
}

.mar-y-1 {
  margin-top: 5px;
  margin-bottom: 5px;
}

.pad-bot-2 {
  padding-bottom: 10px;
}

.pad-top-2 {
  padding-top: 10px;
}

.pad-left-2 {
  padding-left: 10px;
}

.pad-right-2 {
  padding-right: 10px;
}

.pad-x-2 {
  padding-left: 10px;
  padding-right: 10px;
}

.pad-y-2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.mar-bot-2 {
  margin-bottom: 10px;
}

.mar-top-2 {
  margin-top: 10px;
}

.mar-left-2 {
  margin-left: 10px;
}

.mar-right-2 {
  margin-right: 10px;
}

.mar-x-2 {
  margin-left: 10px;
  margin-right: 10px;
}

.mar-y-2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.pad-bot-3 {
  padding-bottom: 15px;
}

.pad-top-3 {
  padding-top: 15px;
}

.pad-left-3 {
  padding-left: 15px;
}

.pad-right-3 {
  padding-right: 15px;
}

.pad-x-3 {
  padding-left: 15px;
  padding-right: 15px;
}

.pad-y-3 {
  padding-top: 15px;
  padding-bottom: 15px;
}

.mar-bot-3 {
  margin-bottom: 15px;
}

.mar-top-3 {
  margin-top: 15px;
}

.mar-left-3 {
  margin-left: 15px;
}

.mar-right-3 {
  margin-right: 15px;
}

.mar-x-3 {
  margin-left: 15px;
  margin-right: 15px;
}

.mar-y-3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

.pad-bot-4 {
  padding-bottom: 20px;
}

.pad-top-4 {
  padding-top: 20px;
}

.pad-left-4 {
  padding-left: 20px;
}

.pad-right-4 {
  padding-right: 20px;
}

.pad-x-4 {
  padding-left: 20px;
  padding-right: 20px;
}

.pad-y-4 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.mar-bot-4 {
  margin-bottom: 20px;
}

.mar-top-4 {
  margin-top: 20px;
}

.mar-left-4 {
  margin-left: 20px;
}

.mar-right-4 {
  margin-right: 20px;
}

.mar-x-4 {
  margin-left: 20px;
  margin-right: 20px;
}

.mar-y-4 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.pad-bot-5 {
  padding-bottom: 25px;
}

.pad-top-5 {
  padding-top: 25px;
}

.pad-left-5 {
  padding-left: 25px;
}

.pad-right-5 {
  padding-right: 25px;
}

.pad-x-5 {
  padding-left: 25px;
  padding-right: 25px;
}

.pad-y-5 {
  padding-top: 25px;
  padding-bottom: 25px;
}

.mar-bot-5 {
  margin-bottom: 25px;
}

.mar-top-5 {
  margin-top: 25px;
}

.mar-left-5 {
  margin-left: 25px;
}

.mar-right-5 {
  margin-right: 25px;
}

.mar-x-5 {
  margin-left: 25px;
  margin-right: 25px;
}

.mar-y-5 {
  margin-top: 25px;
  margin-bottom: 25px;
}

@media screen and (max-width: 1000px) {
  .login, .register {
    margin: 20px auto;
    padding: 25px;
  }
  .header .wrapper {
    width: 100%;
  }
  .header .wrapper h1 {
    font-size: 18px;
    padding: 15px;
  }
  .header .wrapper label {
    display: inline-flex;
  }
  .header .wrapper .menu {
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    flex-flow: column;
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    justify-items: flex-start;
    align-items: flex-start;
    padding: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(74, 144, 226, 0.3);
    gap: 8px;
  }
  .header .wrapper .menu a {
    width: 100%;
    justify-content: flex-start;
    padding: 15px 20px;
    border-radius: 8px;
  }
  .header .wrapper .menu a::after {
    display: none;
  }
  .header .wrapper input[type=checkbox]:checked ~ .menu {
    display: flex;
  }
  .content {
    width: 100%;
    padding: 5px 10px;
  }
}

/* cards body color */
.card-body.custom-font-color {
  color: #2C3441;
}

/* ============================================
   DARK MODE FOOTER
   ============================================ */

.main-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #e0e0e0;
  padding: 50px 20px 20px;
  margin-top: 60px;
  border-top: 4px solid #4a90e2;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-container {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  color: #4a90e2;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #4a90e2, transparent);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-section ul li a i {
  font-size: 14px;
  color: #4a90e2;
  transition: transform 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4a90e2;
  padding-left: 5px;
}

.footer-section ul li a:hover i {
  transform: translateX(3px);
}

.footer-bottom {
  max-width: 1250px;
  margin: 0 auto;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #808080;
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #808080;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #4a90e2;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #4a90e2;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .main-footer {
    padding: 40px 15px 15px;
    margin-top: 40px;
  }
}



