/*
 * =============================================
 * CASHBOX PROFESSIONAL DARK THEME
 * Color Configuration System
 * =============================================
 *
 * Background Colors:
 *   --bg-darkest:  #1a1d26  (page background)
 *   --bg-dark:     #23262f  (section headers)
 *   --bg-medium:   #2d303d  (content areas)
 *   --bg-light:    #363a47  (cards, panels)
 *   --bg-lighter:  #3f4452  (hover states)
 *
 * Text Colors:
 *   --text-primary:   #f0f2f5  (main text)
 *   --text-secondary: #b8bcc5  (secondary)
 *   --text-muted:     #8a8f9a  (muted)
 *
 * Accent Colors:
 *   --accent:       #4A9CD6  (primary accent)
 *   --accent-hover: #5bb5e8  (hover)
 *   --accent-dark:  #2D7AB8  (darker)
 *
 * Border Colors:
 *   --border:       #404552
 *   --border-light: #4a4f5c
 * =============================================
 */

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

body,
html {
  width: 100%;
  height: 100%;
}

body {
  background-color: #1a1d26;
  font-family: 'Lato', sans-serif;
  color: #f0f2f5;
  overflow-x: hidden;
}

a {
  color: #5bb5e8;
  outline: none;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:hover,
a:focus {
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

p {
  font-size: 16px;
  line-height: 1.6em;
}

a.btn-custom,
button.btn-custom {
  color: #fff;
  font-weight: 500;
  padding: 15px 28px;
  background: linear-gradient(135deg, #4A9CD6 0%, #3d8bc4 100%);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(74, 156, 214, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a.btn-custom:hover,
button.btn-custom:hover,
a.btn-custom:focus,
button.btn-custom:focus {
  color: #fff;
  background: linear-gradient(135deg, #5bb5e8 0%, #4A9CD6 100%);
  box-shadow: 0 6px 20px rgba(74, 156, 214, 0.4);
  transform: translateY(-2px);
}


/* ##### Text Uppercase ##### */

.uppercase {
  text-transform: uppercase;
}


/* ##### Animation Delay ##### */

.delayp1 {
  animation-delay: .1s;
  -moz-animation-delay: .1s;
  -webkit-animation-delay: .1s;
  -o-animation-delay: .1s;
  transition-delay: .1s;
  -webkit-transition-delay: .1s;
  -moz-transition-delay: .1s;
  -o-transition-delay: .1s;
}

.delayp2 {
  animation-delay: .2s;
  -moz-animation-delay: .2s;
  -webkit-animation-delay: .2s;
  -o-animation-delay: .2s;
  transition-delay: .2s;
  -webkit-transition-delay: .2s;
  -moz-transition-delay: .2s;
  -o-transition-delay: .2s;
}

.delayp3 {
  animation-delay: .3s;
  -moz-animation-delay: .3s;
  -webkit-animation-delay: .3s;
  -o-animation-delay: .3s;
  transition-delay: .3s;
  -webkit-transition-delay: .3s;
  -moz-transition-delay: .3s;
  -o-transition-delay: .3s;
}

.delayp4 {
  animation-delay: .4s;
  -moz-animation-delay: .4s;
  -webkit-animation-delay: .4s;
  -o-animation-delay: .4s;
  transition-delay: .4s;
  -webkit-transition-delay: .4s;
  -moz-transition-delay: .4s;
  -o-transition-delay: .4s;
}

.delayp5 {
  animation-delay: .5s;
  -moz-animation-delay: .5s;
  -webkit-animation-delay: .5s;
  -o-animation-delay: .5s;
  transition-delay: .5s;
  -webkit-transition-delay: .5s;
  -moz-transition-delay: .5s;
  -o-transition-delay: .5s;
}

.delayp6 {
  animation-delay: .6s;
  -moz-animation-delay: .6s;
  -webkit-animation-delay: .6s;
  -o-animation-delay: .6s;
  transition-delay: .6s;
  -webkit-transition-delay: .6s;
  -moz-transition-delay: .6s;
  -o-transition-delay: .6s;
}

.delayp7 {
  animation-delay: .7s;
  -moz-animation-delay: .7s;
  -webkit-animation-delay: .7s;
  -o-animation-delay: .7s;
  transition-delay: .7s;
  -webkit-transition-delay: .7s;
  -moz-transition-delay: .7s;
  -o-transition-delay: .7s;
}

.delayp8 {
  animation-delay: .8s;
  -moz-animation-delay: .8s;
  -webkit-animation-delay: .8s;
  -o-animation-delay: .8s;
  transition-delay: .8s;
  -webkit-transition-delay: .8s;
  -moz-transition-delay: .8s;
  -o-transition-delay: .8s;
}

.delayp9 {
  animation-delay: .9s;
  -moz-animation-delay: .9s;
  -webkit-animation-delay: .9s;
  -o-animation-delay: .9s;
  transition-delay: .9s;
  -webkit-transition-delay: .9s;
  -moz-transition-delay: .9s;
  -o-transition-delay: .9s;
}


/* ##### Page Loader ##### */

#astro-loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #1a1d26;
  overflow-x: hidden;
}

#astro-loader .preload {
  width: 32px;
  height: 32px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -16px;
  margin-left: -16px;
}


/* ##### Section ##### */

.section {
  background-color: #1a1d26;
}

.section > .section-header {
  position: relative;
  padding: 55px 15px;
  background-color: #23262f;
  border-radius: 0;
}

.section > .section-header > .section-title {
  margin-top: 0px;
}

.section > .section-header.bg-transparent-yes {
  background: transparent;
}

.section > .section-content {
  position: relative;
  padding: 55px 15px;
  background-color: #1a1d26;
}

.section > .section-content.triangle-yes:after {
  content: "";
  position: absolute;
  display: inline-block;
  border: 20px solid transparent;
  border-top-color: #23262f;
  top: 0;
  left: 50%;
  z-index: 999;
  margin-left: -20px;
}

.section.bg-image-yes {
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.section.bg-overlay-yes:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.section.bg-overlay-yes > .section-content {
  background: transparent;
}


/* ##### Modal - Dark Theme ##### */

.modal-content {
  background-color: #23262f;
  border: 1px solid #404552;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  background-color: #2d3340;
  border-bottom: 1px solid #404552;
  border-radius: 16px 16px 0 0;
  padding: 20px 25px;
}

.modal-header .modal-title {
  color: #f0f2f5;
  font-weight: 600;
  font-size: 22px;
}

.modal-header .close {
  color: #b8bcc5;
  opacity: 0.8;
  text-shadow: none;
  font-size: 28px;
}

.modal-header .close:hover {
  color: #ffffff;
  opacity: 1;
}

.modal-body {
  background-color: #23262f;
  color: #f0f2f5;
  padding: 25px;
}

.modal-body label {
  color: #f0f2f5;
  font-weight: 500;
}

.modal-body .form-control {
  background-color: #2d3340;
  border: 1px solid #404552;
  border-radius: 8px;
  color: #f0f2f5;
  padding: 12px 15px;
  height: auto;
}

.modal-body .form-control:focus {
  border-color: #5bb5e8;
  box-shadow: 0 0 0 3px rgba(91, 181, 232, 0.2);
  background-color: #2d3340;
  color: #f0f2f5;
}

.modal-body .form-control::placeholder {
  color: #8a8f9a;
}

.modal-body input[type="text"],
.modal-body input[type="email"],
.modal-body input[type="password"] {
  background-color: #2d3340;
  border: 1px solid #404552;
  color: #f0f2f5;
}

.modal-body small {
  color: #b8bcc5;
}

.modal-body small a {
  color: #5bb5e8;
}

.modal-body small a:hover {
  color: #ffffff;
}

.modal-body .social-login {
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #404552;
}

.modal-body .social-login .social-statement {
  color: #b8bcc5;
  margin-bottom: 15px;
}

.modal-body .social-login a {
  color: #5bb5e8;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.modal-body .social-login a:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.modal-body .btn-primary {
  background: linear-gradient(135deg, #4A9CD6 0%, #3d8bc4 100%);
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(74, 156, 214, 0.3);
}

.modal-body .btn-primary:hover,
.modal-body .btn-primary:focus {
  background: linear-gradient(135deg, #5bb5e8 0%, #4A9CD6 100%);
  box-shadow: 0 6px 20px rgba(74, 156, 214, 0.4);
}

.modal-footer {
  background-color: #2d3340;
  border-top: 1px solid #404552;
  border-radius: 0 0 16px 16px;
  padding: 15px 25px;
}

.modal-backdrop.in {
  opacity: 0.7;
}

/* Form group styling in modals */
.modal-body .form-group {
  margin-bottom: 20px;
}

/* Checkbox styling */
.modal-body input[type="checkbox"] {
  margin-right: 8px;
}

.modal-body .checkbox label {
  color: #b8bcc5;
}