/* === Footer Accordion === */

.footer-accordion {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: #dbdbdb;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
}

.footer-accordion-content {
  padding-bottom: 14px;
}

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

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 13px;
}

/* Desktop: always open */
@media (min-width: 900px) {
  .footer-accordion-content {
    display: block !important;
  }
}

/* Mobile: collapsed */
@media (max-width: 899px) {
  .footer-accordion-content {
    display: none;
  }

  .footer-accordion-item.active .footer-accordion-content {
    display: block;
  }
}



/* Pro Registration Layout Styling */
.pro-access-message,
.pro-registration-wrapper {
  max-width: 800px !important;
  margin: 50px auto;
  padding: 40px;
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.pro-registration-wrapper h2,
.pro-registration-wrapper label {
  color: #d2042d;
}

.pro-registration-wrapper input,
.pro-registration-wrapper select,
.pro-registration-wrapper textarea {
  background: #121212;
  border: 1px solid #444;
  color: #fff;
}

.pro-registration-wrapper button,
.pro-registration-wrapper input[type="submit"] {
  background: #d2042d;
  border: none;
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pro-registration-wrapper button:hover,
.pro-registration-wrapper input[type="submit"]:hover {
  background: #ff2800;
}

#subfieldList_jform_com_fields_social_media_channels > thead:nth-child(2) > tr:nth-child(1) > th:nth-child(2) {
  width:45%;
  color: #c0c0c0;
}

#subfieldList_jform_com_fields_social_media_channels > thead:nth-child(2) > tr:nth-child(1) > th:nth-child(1) {
  width:45%;
  color: #c0c0c0;
}


/* Buttons */
.btn-primary,
.button-primary,
.validate {
  background: linear-gradient(90deg, #ff005a, #ff6600) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  box-shadow: 0 0 15px rgba(255, 100, 0, 0.4) !important;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ff6600, #ff005a) !important;
  transform: scale(1.03) !important;
}

.alert-info {
  background-color: #960018 !important;
}

/* Alerts */
.alert-success {
  background-color: #2e7d32 !important;
  border-color: #1b5e20 !important;
  color: #fff !important;
}
.alert-danger {
  background-color: #b71c1c !important;
  border-color: #7f0000 !important;
  color: #fff !important;
}
.alert-warning {
  background-color: #ff6f00 !important;
  border-color: #e65100 !important;
  color: #121212 !important;
}

/*Referrer Registration Page*/
body.com-users-registration {
  background-color: #121212 !important;
}

#jform_name {
  color: #a2a2a2;
  background-color: #484848;
}


/* Registration Edits */
.table {
  color:#c0c0c0;
}
#member-registration > fieldset:nth-child(2) > div:nth-child(2) {
  color: #c0c0c0;
  background-color: #960018;
  border-color: #960018;
}
#member-registration > fieldset:nth-child(5) > div:nth-child(2) {
  color: #c0c0c0;
  background-color: #960018;
  border-color: #960018;  
}
.form-control {
  background-color: #484848;
  border: 1px solid #686868;
}
.form-control::placeholder {
  color: #a2a2a2;
}

/*Mega Menu Nav*/
/* Remove list dots */
.js-accordion-menu ul.menu,
.js-accordion-menu ul.menu-child {
  list-style-type: none;
  margin: 5%;
  padding: 0;
}

.sp-module-content {
  padding-bottom: 5px; 
}

/* Style parent items: uppercase and bold */
.sp-module-content li {
  text-transform: uppercase;
  font-weight: bold;
  padding-bottom: 10px;
}

/* Style child items: normal case and slight indent */
.js-accordion-menu .menu-child a {
  text-transform: none;
  padding-left: 1em;
  font-weight: normal;
}

.js-accordion-menu .menu-parent > a .menu-toggler:before {
  content: ' ❯';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0px;
  margin-left: 15px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='#c0c0c0' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-size: 10px 10px;
  vertical-align: middle;  
  transform: rotate(0deg) translateY(-11px);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.js-accordion-menu .menu-parent.open > a .menu-toggler:before {
  transform: rotate(90deg) translateY(1px);
}

/* Header Style*/
.custom-header-slot ul.menu li {
  position: relative;
}

/* Initial hidden state */
.custom-header-slot ul.menu li .menu-child {
  display: block; /* allow animation */
  opacity: 0;
  visibility: hidden;
  transform: translateY(0px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100 !important;
  background: #111;
  padding: 10px 0;
  min-width: 180px;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* On hover - show the submenu with animation */
.custom-header-slot ul.menu li:hover .menu-child {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.custom-header-slot ul.menu li .menu-child li {
  padding: 5px 20px;
}

.custom-header-slot ul.menu li .menu-child li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.custom-header-slot ul.menu li .menu-child li a:hover {
  background: #121212;
}

/* Arrow animation*/
.custom-header-slot ul.menu li.menu-parent > a {
  position: relative;
  padding-right: 20px; /* Space for the arrow */
  display: inline-flex;
  align-items: center;
}

.custom-header-slot ul.menu li.menu-parent > a::after {
  content: ' ❮';
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='#c0c0c0' height='10' viewBox='0 0 24 24' width='10' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-size: 10px 10px;
  vertical-align: middle;  
  transform: rotate(0deg) translateY(-8px);
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* Cart styling*/
.cart-toggle {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  color: #000;
  z-index: 1001;
}

.cart-count {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  position: absolute;
  top: -8px;
  right: -10px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 1002;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  font-size: 1.2rem;
}

.close-cart button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-drawer-content {
  padding: 1rem;
  overflow-y: auto;
  flex-grow: 1;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.cart-overlay.show {
  opacity: 1;
  visibility: visible;
}


/* Rotate arrow when submenu is open (optional, if active/opened) */
.custom-header-slot ul.menu li.menu-parent:hover > a::after {
  transform: rotate(-90deg) translateY(1px);
}

/* Only on the iframe‐only registration layout: */
.hikashop_registration_form {
  padding: 10% !important;
}

/* Mega menu styles*/
.sp-dropdown {
  background: #fff;
  border-radius: 6px;
}

/* jDownloads One‑line file entries */
.jd-item-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eaeaea;
  font-size: 0.9rem;
}

/* Make name/desc/preview flex and truncate overflow */
.jd-file-name,
.jd-file-desc,
.jd-file-preview {
  flex: 1;
  margin: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Give the Download button a fixed shrink‑to‑content size */
.jd-file-inline .jd-btn-primary {
  flex: 0 0 auto;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
}


/* Custom CSS for com_finder inside Helix Ultimate */
body.com_finder {
    background-color: #111 !important;
    color: #fff !important;
}

/* Make sure the Finder module is styled properly */
div.finder {
    background-color: #222 !important;
    padding: 10px;
    border-radius: 5px;
}

/*topmenu nav*/

.sp-module ul> li> a:hover {
  color: #dc143c;
}

#sp-top2 {
  line-height:0.1;
}

.navbar {
  padding-top: 0px;
}

.nav-link {
  padding-top:0.1rem;
  padding-bottom:0.1rem;
  font-size:14px;
}

/*Contact Form*/

.contact {
  padding-left: 5%;
  padding-right: 5%;
}

#sp-footer ul.menu li {
  display: block;
}

/*admin style*/

#k2Container {
  padding-left: 5%;
  padding-right: 5%;
}

/* Style the Registration Form */
.hikashop_user_registration_page {
    max-width: 50%;
    align: center;
    margin: 50px auto;
    padding: 30px;
    background-color: #121212; /* Dark background */
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Style the Form Fields */
.hikashop_user_registration_page input[type="text"],
.hikashop_user_registration_page input[type="email"],
.hikashop_user_registration_page input[type="password"] {
    width: 70%;
    padding: 12px;
    margin: 0px 0;
    border: 1px solid #444;
    background-color: #ffffff; /* Darker background */
    color: #121212;
    border-radius: 8px;
}

.hikashop_user_registration_page input[type="button"] {
  width: 20%;
}
/* Style Registration Page */
.hikashop_registration_form {
  background-color: #121212;
}

/* Style the Submit Button */
.hikashop_user_registration_page button {
    width: 100%;
    padding: 12px;
    background: #ff4f00; /* Orange button like RunwayML */
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 0px;
    margin-bottom: 0px;
}

.hikashop_user_registration_page button {
    background: #cc1c00;
  width: 20%;
}

.hikashop_user_registration_page button:hover {
    background: #330009;
}

/* Style the Labels */
.hikashop_user_registration_page label {
    color: #c0c0c0;
    font-weight: bold;
    padding-right: 7px;
    text-align: center;
}

/* Style Links */
.hikashop_user_registration_page a {
    color: #cc1c00;
    text-decoration: none;
}

.hikashop_user_registration_page label {
    color: #c0c0c0;
}

.hikashop_registration_required_info_line {
    color: #6c757d;
}

.hikashop_user_registration_page a:hover {
    text-decoration: underline;
}

/* Centering Text */
.hikashop_user_registration_page h2 {
    text-align: center;
    color: #121212;
    margin-bottom: 20px;
}

.hikashop_user_registration_page input:-webkit-autofill {
    background-color: #e5e4e2 !important;  /* Set to your desired color */
    color: #000 !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important; /* Force background */
}

.hikashop_user_registration_page input:-webkit-autofill:focus {
    background-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

/* Article Styling */
.video-article {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background: #111;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.video-header {
    text-align: center;
    margin-bottom: 15px;
}

.video-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffcc00;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 8px;
}

.video-description {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.video-meta {
    margin-top: 15px;
    font-size: 14px;
    color: #aaa;
    text-align: center;
}

.video-download {
    text-align: center;
    margin-top: 20px;
}

.download-btn {
    background: #ffcc00;
    padding: 10px 15px;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.download-btn:hover {
    background: #fff;
    color: #000;
}

/* Search form control*/
.form-control {
    padding: 20px;
    border-radius: 10px;
    color: #c0c0c0;
    font-family: 'Poppins', sans-serif;
}

#sp-main-body {
  background-color: #121212;
}

/* 🔥 Style the Advanced Search Box */
#advancedSearch {
    display: none; /* Hide extra text */
}

/* 🔥 Make Sidebar Sticky */
#finder-filter-window {
    position: sticky;
    top: 20px;
}

/* Pro Registration Layout Styling */
.pro-access-message
.pro-registration-wrapper {
  max-width: 800px !important;
  margin: 50px auto;
  padding: 40px;
  background: #1a1a1a;
  border-radius: 16px;
  border: 1px solid #333;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.pro-registration-wrapper h2,
.pro-registration-wrapper label {
  color: #d2042d;
}

.pro-registration-wrapper input,
.pro-registration-wrapper select,
.pro-registration-wrapper textarea {
  background: #121212;
  border: 1px solid #444;
  color: #fff;
}

.pro-registration-wrapper button,
.pro-registration-wrapper input[type="submit"] {
  background: #d2042d;
  border: none;
  color: #000;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.pro-registration-wrapper button:hover,
.pro-registration-wrapper input[type="submit"]:hover {
  background: #ff2800;
}
