/* Body background */
body {
    background-color: #2e2e38!important;
    /* The configured page background is dark; do not inherit Bootstrap's muted gray. */
    color: #f2f2f2;
    font-family: "Space Mono", monospace!important;
}

/*
 * The client area uses a dark page canvas, so body text is light.  Bootstrap
 * components below paint their own light backgrounds and otherwise inherit
 * that body color.  Set the foreground at the light-surface boundary rather
 * than per view so account, invoice, payment and dialog screens stay legible.
 */
.card,
.card-order,
.package,
.package-list,
.well,
.modal-content,
.popover,
.list-group-item:not(.active),
.panel-blesta > .panel-body,
.panel-blesta > .panel-footer {
    color: #212529;
}

/* The order plugin makes this payment card transparent by default. */
body.plugin-orderclient-checkout-index .card.card-order {
    background-color: #fff !important;
}

/* Link color */
a, a:hover {
    color: #721ecc;
}

/* Pagination style */
.pagination .page-item.active .page-link,
div.pagination ul.pagination li.active .page-link,
div.pagination ul.pagination li.active a {
    background-color: #721ecc;
    border-color: #721ecc;
}

/* Header style */
.header {
    background: #994bf2;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#994bf2), to(#721ecc));
    background: -webkit-linear-gradient(#994bf2, #721ecc);
    background: -moz-linear-gradient(#994bf2, #721ecc);
    background: -ms-linear-gradient(#994bf2, #721ecc);
    background: -o-linear-gradient(#994bf2, #721ecc);
    background: linear-gradient(#994bf2, #721ecc);
    -pie-background: linear-gradient(#994bf2, #721ecc);
}

/* Title style */
.title {
    background: #f7f9fb;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#f7f9fb), to(#f9f9fb));
    background: -webkit-linear-gradient(#f7f9fb, #f9f9fb);
    background: -moz-linear-gradient(#f7f9fb, #f9f9fb);
    background: -ms-linear-gradient(#f7f9fb, #f9f9fb);
    background: -o-linear-gradient(#f7f9fb, #f9f9fb);
    background: linear-gradient(#f7f9fb, #f9f9fb);
    -pie-background: linear-gradient(#f7f9fb, #f9f9fb);
}

.title h3 {
    color: #232629;
}

/* Navigation bar style */
.nav-content nav.navbar {
    background: #721ecc;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#721ecc), to(#2e2e38));
    background: -webkit-linear-gradient(#721ecc, #2e2e38);
    background: -moz-linear-gradient(#721ecc, #2e2e38);
    background: -ms-linear-gradient(#721ecc, #2e2e38);
    background: -o-linear-gradient(#721ecc, #2e2e38);
    background: linear-gradient(#721ecc, #2e2e38);
    -pie-background: linear-gradient(#721ecc, #2e2e38);
}

.nav-content nav.navbar .navbar-nav > .active > a,
nav.navbar .navbar-nav > .active > a:hover,
nav.navbar .navbar-nav > .active > a:focus {
    color: #fbfcfd !important;
}

.nav-content nav.navbar .navbar-nav > li > a {
    color: #d8dbde !important;
}

@media (max-width: 767px) {
    nav.navbar .navbar-nav .show .dropdown-menu > a {
        color: #d8dbde !important;
    }

    nav.navbar .navbar-nav .show .dropdown-menu > a:hover,
    nav.navbar .navbar-nav .show .dropdown-menu > a:focus {
        color: #fbfcfd !important;
    }
}

.nav-content nav.navbar .navbar-nav > li > a:hover {
    color: #fbfcfd !important;
}

.nav-content nav.navbar .navbar-nav > .open > a,
nav.navbar .navbar-nav > .open > a:hover,
nav.navbar .navbar-nav > .open > a:focus {
    color: #fbfcfd !important;
}

/* Card style */
.card-blesta > .card-header {
    color: #f2f2f2;
    background: #000000;
    background: -webkit-gradient(linear, 0 0, 0 bottom, from(#000000), to(#2e2e38));
    background: -webkit-linear-gradient(#000000, #2e2e38);
    background: -moz-linear-gradient(#000000, #2e2e38);
    background: -ms-linear-gradient(#000000, #2e2e38);
    background: -o-linear-gradient(#000000, #2e2e38);
    background: linear-gradient(#000000, #2e2e38);
    -pie-background: linear-gradient(#000000, #2e2e38);
}

/* Highlight Color */
.list-group.list-options a.list-group-item:hover,
.list-group.list-options a.list-group-item:focus,
a.list-group-item:hover,
a.list-group-item:focus {
    background-color: #d1ecf1 !important;
}

a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    background-color: #d1ecf1 !important;
}

.table-hover > tbody > tr:hover > td, .table-hover > tbody > tr:hover > th {
    background-color: #d1ecf1 !important;
}

/* Settings Link Text Color */
.list-group-item.credits {
    color: #4f4f4f !important;
}

.top-focus-box {
    background-color: #d1ecf1 !important;
}

.list-group-item h4 {
    color: #721ecc !important;
}

/* Top navigation style */
.top-nav .dropdown a.dropdown-toggle,
.top-nav .dropdown a.dropdown-toggle:focus {
    color: #ebebeb !important;
}

.top-nav .dropdown a.dropdown-toggle:hover {
    color: #ffffff !important;
}

/* Bootstrap theme */
.bg-primary {
    background-color: #007bff !important;
}

.text-primary {
    color: #007bff !important;
}

.border-primary {
    border-color: #007bff !important;
}

.badge-primary {
    color: #ffffff !important;
    background-color: #007bff !important;
}

.btn-primary {
    color: #ffffff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.btn-primary:hover {
    color: #ffffff !important;
    background-color: #0069d9 !important;
    border-color: #0069d9 !important;
}

.btn-primary:disabled, .btn-primary.disabled {
    background-color: #007bff !important;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff !important;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background: #007bff;
    border-color: #007bff;
}

.alert-primary {
    color: #004085;
    background: #cce5ff;
    border-color: #b8daff;
}


.bg-secondary {
    background-color: #6c757d !important;
}

.text-secondary {
    color: #6c757d !important;
}

.border-secondary {
    border-color: #6c757d !important;
}

.badge-secondary {
    color: #ffffff !important;
    background-color: #6c757d !important;
}

.btn-secondary {
    color: #ffffff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.btn-secondary:hover {
    color: #ffffff !important;
    background-color: #545b62 !important;
    border-color: #545b62 !important;
}

.btn-secondary:disabled, .btn-secondary.disabled {
    background-color: #6c757d !important;
}

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

.btn-outline-secondary:hover {
    color: #ffffff;
    background: #6c757d;
    border-color: #6c757d;
}

.alert-secondary {
    color: #383d41;
    background: #e2e3e5;
    border-color: #d6d8db;
}


.bg-success {
    background-color: #28a746 !important;
}

.text-success {
    color: #28a746 !important;
}

.border-success {
    border-color: #28a746 !important;
}

.badge-success {
    color: #ffffff !important;
    background-color: #28a746 !important;
}

.btn-success {
    color: #ffffff !important;
    background-color: #28a746 !important;
    border-color: #28a746 !important;
}

.btn-success:hover {
    color: #ffffff !important;
    background-color: #218838 !important;
    border-color: #218838 !important;
}

.btn-success:disabled, .btn-success.disabled {
    background-color: #28a746 !important;
}

.btn-outline-success {
    color: #28a746;
    border-color: #28a746 !important;
}

.btn-outline-success:hover {
    color: #ffffff;
    background: #28a746;
    border-color: #28a746;
}

.alert-success {
    color: #155725;
    background: #d4edda;
    border-color: #c3e6cb;
}


.bg-info {
    background-color: #17a3b8 !important;
}

.text-info {
    color: #17a3b8 !important;
}

.border-info {
    border-color: #17a3b8 !important;
}

.badge-info {
    color: #ffffff !important;
    background-color: #17a3b8 !important;
}

.btn-info {
    color: #ffffff !important;
    background-color: #17a3b8 !important;
    border-color: #17a3b8 !important;
}

.btn-info:hover {
    color: #ffffff !important;
    background-color: #138596 !important;
    border-color: #138596 !important;
}

.btn-info:disabled, .btn-info.disabled {
    background-color: #17a3b8 !important;
}

.btn-outline-info {
    color: #17a3b8;
    border-color: #17a3b8 !important;
}

.btn-outline-info:hover {
    color: #ffffff;
    background: #17a3b8;
    border-color: #17a3b8;
}

.alert-info {
    color: #0c5360;
    background: #d1ecf1;
    border-color: #bee5eb;
}


.bg-warning {
    background-color: #ffc107 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.border-warning {
    border-color: #ffc107 !important;
}

.badge-warning {
    color: #ffffff !important;
    background-color: #ffc107 !important;
}

.btn-warning {
    color: #ffffff !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-warning:hover {
    color: #ffffff !important;
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
}

.btn-warning:disabled, .btn-warning.disabled {
    background-color: #ffc107 !important;
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107 !important;
}

.btn-outline-warning:hover {
    color: #ffffff;
    background: #ffc107;
    border-color: #ffc107;
}

.alert-warning {
    color: #856504;
    background: #fff3cd;
    border-color: #ffeeba;
}


.bg-danger {
    background-color: #dc3545 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.border-danger {
    border-color: #dc3545 !important;
}

.badge-danger {
    color: #ffffff !important;
    background-color: #dc3545 !important;
}

.btn-danger {
    color: #ffffff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.btn-danger:hover {
    color: #ffffff !important;
    background-color: #c82334 !important;
    border-color: #c82334 !important;
}

.btn-danger:disabled, .btn-danger.disabled {
    background-color: #dc3545 !important;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545 !important;
}

.btn-outline-danger:hover {
    color: #ffffff;
    background: #dc3545;
    border-color: #dc3545;
}

.alert-danger {
    color: #721c25;
    background: #f8d7da;
    border-color: #f5c6cb;
}


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

.text-light {
    color: #ffffff !important;
}

.border-light {
    border-color: #ffffff !important;
}

.badge-light {
    color: #212529 !important;
    background-color: #ffffff !important;
}

.btn-light {
    color: #212529 !important;
    background-color: #ffffff !important;
    border-color: #e2e6ea !important;
}

.btn-light:hover {
    color: #212529 !important;
    background-color: #e2e6ea !important;
    border-color: #e2e6ea !important;
}

.btn-light:disabled, .btn-light.disabled {
    background-color: #ffffff !important;
}

.btn-outline-light {
    color: #ffffff;
    border-color: #ffffff !important;
}

.btn-outline-light:hover {
    color: #212529;
    background: #ffffff;
    border-color: #ffffff;
}

.alert-light {
    color: #818182;
    background: #fefefe;
    border-color: #fdfdfe;
}

label[for="login_username"],
label[for="login_password"],
label[for="login_remember_me"] {
    color: white;
}

body.plugin-orderclient-main-packages .section-title h3 {
    color: white;
}

body.plugin-orderclient-main-packages .section-title p.format {
    color: white;
}

/* Custom Footer Styles */
.custom-footer {
  background-color: rgb(46, 46, 56) !important;
  position: relative;
  overflow: hidden;
}

.custom-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #a855f7, #9333ea, #7c3aed, #9333ea, #a855f7);
  background-size: 200% 100%;
  animation: customFooterGradient 4s ease infinite;
}

@keyframes customFooterGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.custom-footer__logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
}

.custom-footer__logo-text {
  color: #e5e7eb;
}

.custom-footer__logo-accent {
  color: #a855f7;
}

.custom-footer__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #9ca3af;
}

.custom-footer__subtitle {
  color: #9ca3af;
  font-size: 0.95rem;
}

.custom-footer__title {
  color: #a855f7;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}

.custom-footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #a855f7;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.custom-footer__links li {
  margin-bottom: 0.6rem;
}

.custom-footer__link {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
}

.custom-footer__link:hover {
  color: #a855f7;
  padding-left: 5px;
}

.custom-footer__link:hover::before {
  width: 100%;
}

.custom-footer__social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(168, 85, 247, 0.1);
  border: 2px solid rgba(168, 85, 247, 0.3);
  border-radius: 50%;
  color: #a855f7;
  text-decoration: none!important;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.custom-footer__social-link:hover {
  background: #a855f7;
  color: #fff;
  border-color: #a855f7;
  transform: translateY(-3px) rotate(5deg);
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
}

.custom-footer__divider {
  border-color: rgba(168, 85, 247, 0.2);
  opacity: 1;
  margin: 2rem 0;
}

.custom-footer__copyright {
  font-size: 0.9rem;
  color: #9ca3af;
}

.custom-footer__separator {
  color: #6b7280;
}

.custom-footer__legal-link {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.custom-footer__legal-link:hover {
  color: #a855f7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-footer {
    padding: 2rem 0 !important;
  }
  
  .custom-footer__logo {
    font-size: 1.5rem;
  }
}

.custom-footer__logo {
    text-align: center;
}

.custom-footer__logo-img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}
