/* NMTSS Techie Storefront Design
 * Dark theme color system:
 *   --bg-deep:    #1a252f  (header, footer, navbar)
 *   --bg-main:    #2C3E50  (body, main content)
 *   --bg-surface: #243342  (cards, panels, sidebars)
 *   --bg-input:   #1e2d3d  (form controls, code blocks)
 *   --text-primary:   #ECF0F1  (main text)
 *   --text-secondary: #B0BEC5  (muted text, descriptions)
 *   --accent:         #3EC1D5  (links, icons, highlights)
 *   --accent-glow:    rgba(62,193,213,0.5)
 *   --border:         rgba(62,193,213,0.2)
 *   --border-strong:  rgba(62,193,213,0.5)
 *   --cta:            #FF6B35  (buttons, CTAs)
 */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Inter:wght@400;600;800&display=swap');

/* ===========================
   Base / Global
   =========================== */
body, #main-body, .main-content, .sidebar {
    background-color: #2C3E50 !important;
    color: #ECF0F1 !important;
    font-family: 'Inter', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
    color: #ECF0F1 !important;
}
p, li, span, label, td, th, dd, dt {
    color: #ECF0F1;
}
a {
    color: #3EC1D5;
}
a:hover, a:focus {
    color: #5fd4e5;
}
hr {
    border-color: rgba(62,193,213,0.2);
}
::placeholder {
    color: #78909C !important;
    opacity: 1;
}
.text-muted {
    color: #B0BEC5 !important;
}
small, .small {
    color: #B0BEC5;
}

/* ===========================
   Header & Navigation
   =========================== */
#header {
    background: #1a252f !important;
    border-bottom: 1px solid rgba(62, 193, 213, 0.3);
}
#header .logo-text {
    color: #3EC1D5 !important;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
}
#header .top-nav > li > a {
    color: #B0BEC5 !important;
}
#header .top-nav > li > a:hover {
    color: #3EC1D5 !important;
}
section#main-menu { background: #1a252f !important; }
.navbar-main {
    background-color: rgba(44, 62, 80, 0.8) !important;
    border-bottom: 2px solid #3EC1D5 !important;
}
.navbar-main .navbar-nav > li > a {
    color: #ECF0F1 !important;
    font-family: 'Fira Code', monospace;
}
.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus,
.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .open > a {
    color: #3EC1D5 !important;
    text-shadow: 0 0 8px rgba(62, 193, 213, 0.6);
    background: rgba(62, 193, 213, 0.1) !important;
}
.navbar-main .dropdown-menu {
    background-color: #1a252f !important;
    border: 1px solid rgba(62,193,213,0.2) !important;
}
.navbar-main .dropdown-menu > li > a {
    color: #ECF0F1 !important;
}
.navbar-main .dropdown-menu > li > a:hover,
.navbar-main .dropdown-menu > li > a:focus {
    background-color: rgba(62,193,213,0.15) !important;
    color: #3EC1D5 !important;
}
.navbar-toggle {
    border-color: rgba(62,193,213,0.4) !important;
}
.navbar-toggle .icon-bar {
    background-color: #3EC1D5 !important;
}
@media (max-width: 767px) {
    .navbar-main .navbar-nav .open .dropdown-menu > li > a {
        color: #B0BEC5 !important;
    }
    .navbar-main .navbar-nav .open .dropdown-menu > li > a:hover {
        color: #3EC1D5 !important;
    }
}

/* ===========================
   Primary CTA Buttons
   =========================== */
.btn-action, .btn-primary {
    background: linear-gradient(90deg, #FF6B35, #E55A2B) !important;
    color: #ffffff !important;
    border: none !important;
    font-family: 'Fira Code', monospace;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(229, 90, 43, 0.4) !important;
    transition: all 0.3s ease;
}
.btn-action:hover, .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(229, 90, 43, 0.7) !important;
    transform: translateY(-2px);
    color: #fff !important;
}
.btn-default, .btn-secondary {
    background: #243342 !important;
    color: #ECF0F1 !important;
    border: 1px solid rgba(62,193,213,0.3) !important;
}
.btn-default:hover, .btn-secondary:hover {
    background: rgba(62,193,213,0.15) !important;
    border-color: #3EC1D5 !important;
    color: #3EC1D5 !important;
}
.btn-success {
    background: #27ae60 !important;
    border-color: #27ae60 !important;
    color: #fff !important;
}
.btn-danger {
    background: #e74c3c !important;
    border-color: #e74c3c !important;
    color: #fff !important;
}
.btn-info {
    background: rgba(62,193,213,0.2) !important;
    border-color: #3EC1D5 !important;
    color: #3EC1D5 !important;
}
.btn-warning {
    background: #f39c12 !important;
    border-color: #f39c12 !important;
    color: #1a252f !important;
}

/* ===========================
   Panels (Bootstrap 3)
   =========================== */
.panel {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.2) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.panel-default > .panel-heading {
    background-color: #1a252f !important;
    color: #ECF0F1 !important;
    border-bottom: 1px solid rgba(62,193,213,0.2) !important;
}
.panel-body {
    background-color: #243342 !important;
    color: #ECF0F1 !important;
}
.panel-footer {
    background-color: #1a252f !important;
    border-top: 1px solid rgba(62,193,213,0.2) !important;
    color: #B0BEC5 !important;
}
.panel-primary > .panel-heading {
    background-color: rgba(62,193,213,0.15) !important;
    border-color: #3EC1D5 !important;
    color: #ECF0F1 !important;
}

/* ===========================
   Cards (Bootstrap 4+)
   =========================== */
.card {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.2) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.card-header {
    background-color: #1a252f !important;
    color: #ECF0F1 !important;
    border-bottom: 1px solid rgba(62,193,213,0.2) !important;
}
.card-body {
    background-color: #243342 !important;
    color: #ECF0F1 !important;
}
.card-footer {
    background-color: #1a252f !important;
    border-top: 1px solid rgba(62,193,213,0.2) !important;
}

/* ===========================
   Tables
   =========================== */
.table, table {
    color: #ECF0F1 !important;
}
.table > thead > tr > th,
.table > thead > tr > td {
    border-bottom: 2px solid rgba(62,193,213,0.3) !important;
    color: #3EC1D5 !important;
    background-color: #1a252f !important;
}
.table > tbody > tr > td,
.table > tbody > tr > th {
    border-top: 1px solid rgba(62,193,213,0.1) !important;
    color: #ECF0F1 !important;
}
.table > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > td {
    background-color: rgba(62,193,213,0.08) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0.15) !important;
}
.table-bordered, .table-bordered > thead > tr > th,
.table-bordered > tbody > tr > td {
    border-color: rgba(62,193,213,0.15) !important;
}

/* ===========================
   List Groups
   =========================== */
.list-group-item {
    background-color: #243342 !important;
    border-color: rgba(62,193,213,0.15) !important;
    color: #ECF0F1 !important;
}
a.list-group-item {
    color: #ECF0F1 !important;
}
a.list-group-item:hover, a.list-group-item:focus {
    background-color: rgba(62,193,213,0.1) !important;
    color: #3EC1D5 !important;
}
a.list-group-item.active,
a.list-group-item.active:hover,
a.list-group-item.active:focus {
    background-color: rgba(62,193,213,0.2) !important;
    border-color: #3EC1D5 !important;
    color: #ECF0F1 !important;
}
.list-group-item .badge {
    color: #B0BEC5 !important;
}

/* ===========================
   Alerts
   =========================== */
.alert {
    border: 1px solid rgba(62,193,213,0.2) !important;
}
.alert-info {
    background-color: rgba(62,193,213,0.1) !important;
    border-color: rgba(62,193,213,0.3) !important;
    color: #3EC1D5 !important;
}
.alert-success {
    background-color: rgba(39,174,96,0.15) !important;
    border-color: rgba(39,174,96,0.3) !important;
    color: #2ecc71 !important;
}
.alert-warning {
    background-color: rgba(243,156,18,0.15) !important;
    border-color: rgba(243,156,18,0.3) !important;
    color: #f1c40f !important;
}
.alert-danger {
    background-color: rgba(231,76,60,0.15) !important;
    border-color: rgba(231,76,60,0.3) !important;
    color: #e74c3c !important;
}

/* ===========================
   Forms (extended)
   =========================== */
.form-control, input.form-control, select.form-control, textarea.form-control {
    background: #1e2d3d !important;
    border: 1px solid rgba(62,193,213,0.3) !important;
    color: #ECF0F1 !important;
    font-family: 'Fira Code', monospace;
}
.form-control:focus, input.form-control:focus,
select.form-control:focus, textarea.form-control:focus {
    box-shadow: 0 0 10px rgba(62, 193, 213, 0.4) !important;
    border-color: #3EC1D5 !important;
    background: #1e2d3d !important;
    color: #ECF0F1 !important;
}
.form-group label, .control-label {
    color: #ECF0F1 !important;
}
.help-block {
    color: #B0BEC5 !important;
}
.input-group-addon {
    background-color: #1a252f !important;
    border-color: rgba(62,193,213,0.3) !important;
    color: #3EC1D5 !important;
}
.input-group-btn .btn {
    border-color: rgba(62,193,213,0.3) !important;
}

/* ===========================
   Breadcrumbs
   =========================== */
.breadcrumb {
    background-color: rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(62,193,213,0.1) !important;
}
.breadcrumb > li, .breadcrumb-item {
    color: #B0BEC5 !important;
}
.breadcrumb > li > a, .breadcrumb-item > a {
    color: #3EC1D5 !important;
}
.breadcrumb > .active, .breadcrumb-item.active {
    color: #ECF0F1 !important;
}
.breadcrumb > li + li::before,
.breadcrumb-item + .breadcrumb-item::before {
    color: #78909C !important;
}

/* ===========================
   Pagination
   =========================== */
.pagination > li > a, .pagination > li > span {
    background-color: #243342 !important;
    border-color: rgba(62,193,213,0.2) !important;
    color: #ECF0F1 !important;
}
.pagination > li > a:hover {
    background-color: rgba(62,193,213,0.15) !important;
    color: #3EC1D5 !important;
}
.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover, .pagination > .active > span:hover {
    background-color: #3EC1D5 !important;
    border-color: #3EC1D5 !important;
    color: #1a252f !important;
}
.pagination > .disabled > a, .pagination > .disabled > span {
    background-color: #1a252f !important;
    color: #546E7A !important;
}

/* ===========================
   Wells & Jumbotrons
   =========================== */
.well {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.2) !important;
    color: #ECF0F1 !important;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3) !important;
}
.jumbotron {
    background-color: #1a252f !important;
    color: #ECF0F1 !important;
}

/* ===========================
   Modals
   =========================== */
.modal-content {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.3) !important;
}
.modal-header {
    border-bottom: 1px solid rgba(62,193,213,0.2) !important;
    color: #ECF0F1;
}
.modal-header .close {
    color: #B0BEC5 !important;
    text-shadow: none !important;
    opacity: 0.8;
}
.modal-header .close:hover {
    color: #ECF0F1 !important;
}
.modal-body {
    color: #ECF0F1 !important;
}
.modal-footer {
    border-top: 1px solid rgba(62,193,213,0.2) !important;
}
.modal-title {
    color: #ECF0F1 !important;
}

/* ===========================
   Sidebar
   =========================== */
.sidebar .panel, .sidebar .list-group {
    background: #243342 !important;
}
.sidebar .panel-heading, .sidebar .panel-default > .panel-heading {
    background-color: #1a252f !important;
    color: #3EC1D5 !important;
    border-bottom-color: rgba(62,193,213,0.2) !important;
    font-family: 'Fira Code', monospace;
}
.sidebar a {
    color: #B0BEC5 !important;
}
.sidebar a:hover {
    color: #3EC1D5 !important;
}

/* ===========================
   Footer
   =========================== */
section#footer {
    background: #1a252f !important;
    border-top: 1px solid rgba(62,193,213,0.3);
    color: #78909C !important;
}
section#footer a {
    color: #3EC1D5 !important;
}
section#footer .back-to-top {
    color: #3EC1D5 !important;
}
section#footer p {
    color: #78909C !important;
}

/* ===========================
   Home Banner / Hero
   =========================== */
#home-banner, section#home-banner {
    background: linear-gradient(135deg, #1a252f 0%, #2C3E50 50%, #1a252f 100%) !important;
    border-bottom: 1px solid rgba(62,193,213,0.3);
}
#home-banner h2, #home-banner h3 {
    color: #ECF0F1 !important;
}

/* ===========================
   Home Shortcuts (override storefront.css)
   =========================== */
.home-shortcuts {
    background-color: #1a252f !important;
    border-bottom: 1px solid rgba(62,193,213,0.15);
}
.home-shortcuts a {
    background: #243342 !important;
    color: #ECF0F1 !important;
    border: 1px solid rgba(62,193,213,0.15) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.home-shortcuts a:hover {
    background: rgba(62,193,213,0.1) !important;
    color: #3EC1D5 !important;
    border-color: #3EC1D5 !important;
    box-shadow: 0 4px 16px rgba(62,193,213,0.2) !important;
}
.home-shortcuts i {
    color: #3EC1D5 !important;
}
.home-shortcuts p {
    color: #ECF0F1 !important;
}

/* ===========================
   Product Cards (override storefront.css)
   =========================== */
.product-card {
    background: #243342 !important;
    border: 1px solid rgba(62,193,213,0.15) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
.product-card:hover {
    box-shadow: 0 8px 24px rgba(62,193,213,0.15) !important;
    border-color: rgba(62,193,213,0.4) !important;
}
.product-card-title {
    color: #ECF0F1 !important;
}
.product-card-description {
    color: #B0BEC5 !important;
}
.product-card-price {
    color: #3EC1D5 !important;
}
.product-card-price small {
    color: #78909C !important;
}
.product-card-footer {
    border-top-color: rgba(62,193,213,0.15) !important;
}
.product-card-body {
    color: #ECF0F1 !important;
}

/* Product Category */
.product-category-title {
    color: #ECF0F1 !important;
}
.product-category-description {
    color: #B0BEC5 !important;
}

/* Featured Products */
.featured-products {
    background: linear-gradient(135deg, #1a252f 0%, #243342 100%) !important;
}
.featured-products .product-card {
    border: 2px solid #3EC1D5 !important;
}
.featured-badge {
    background: #FF6B35 !important;
    color: #fff !important;
}

/* Product Details */
.product-details-title {
    color: #ECF0F1 !important;
}
.product-details-price {
    color: #3EC1D5 !important;
}
.product-features li {
    border-bottom-color: rgba(62,193,213,0.1) !important;
    color: #ECF0F1 !important;
}

/* ===========================
   Store / Landing Pages (override store.css)
   =========================== */
.landing-page .hero {
    color: #ECF0F1 !important;
}
.landing-page .hero h2, .landing-page .hero h3 {
    color: #ECF0F1 !important;
}
.landing-page .product-options .item {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.15) !important;
}
.landing-page .product-options h4 {
    color: #ECF0F1 !important;
}
.landing-page .product-options p {
    color: #B0BEC5 !important;
}
.landing-page .product-options .icon {
    color: #3EC1D5 !important;
}
.landing-page .product-options .price {
    color: #3EC1D5 !important;
}

/* ===========================
   Custom Pages (override pages.css)
   =========================== */
.custom-page-header {
    border-bottom-color: rgba(62,193,213,0.2) !important;
}
.custom-page-title {
    color: #ECF0F1 !important;
}
.custom-page-meta {
    color: #78909C !important;
}
.custom-page-meta i {
    color: #3EC1D5 !important;
}
.custom-page-content {
    color: #ECF0F1 !important;
}
.custom-page-content h1, .custom-page-content h2,
.custom-page-content h3, .custom-page-content h4,
.custom-page-content h5, .custom-page-content h6 {
    color: #ECF0F1 !important;
}
.custom-page-content a {
    color: #3EC1D5 !important;
}
.custom-page-content a:hover {
    border-bottom-color: #3EC1D5 !important;
}
.custom-page-content blockquote {
    background: rgba(62,193,213,0.05) !important;
    border-left-color: #3EC1D5 !important;
    color: #B0BEC5 !important;
}
.custom-page-content code {
    background: #1e2d3d !important;
    color: #FF6B35 !important;
}
.custom-page-content pre {
    background: #1e2d3d !important;
    border: 1px solid rgba(62,193,213,0.15);
}
.custom-page-content pre code {
    color: #ECF0F1 !important;
}
.custom-page-content table th {
    background: #1a252f !important;
    color: #3EC1D5 !important;
}
.custom-page-content table td {
    border-color: rgba(62,193,213,0.15) !important;
}
.custom-page-content table tr:hover {
    background: rgba(62,193,213,0.05) !important;
}
.custom-page-sidebar {
    background: #243342 !important;
    border: 1px solid rgba(62,193,213,0.15);
}
.custom-page-sidebar h3 {
    color: #ECF0F1 !important;
    border-bottom-color: #3EC1D5 !important;
}
.custom-page-sidebar a {
    color: #B0BEC5 !important;
}
.custom-page-sidebar a:hover {
    color: #3EC1D5 !important;
    background: rgba(62,193,213,0.1) !important;
}

/* ===========================
   WHMCS-Specific Components
   =========================== */
/* Client area invoice / product lists */
.table-list .list-group-border {
    border-color: rgba(62,193,213,0.15) !important;
}
/* Announcements */
.article-title a {
    color: #3EC1D5 !important;
}
.article-meta {
    color: #78909C !important;
}
.article-content, .article-body {
    color: #ECF0F1 !important;
}
/* Domain search */
.domain-checker-container,
.domain-checker-result-headline,
.domain-pricing-table {
    color: #ECF0F1 !important;
}
/* Popover / Tooltip */
.popover {
    background-color: #243342 !important;
    border: 1px solid rgba(62,193,213,0.3) !important;
}
.popover-title {
    background-color: #1a252f !important;
    color: #ECF0F1 !important;
    border-bottom: 1px solid rgba(62,193,213,0.2) !important;
}
.popover-content {
    color: #ECF0F1 !important;
}
.tooltip-inner {
    background-color: #1a252f !important;
    color: #ECF0F1 !important;
}
/* Status badges / labels */
.label-default {
    background-color: #546E7A !important;
}
.label-info {
    background-color: rgba(62,193,213,0.3) !important;
    color: #3EC1D5 !important;
}
/* Dev license notice */
.dev-license-notice, .alert-devmode {
    background-color: rgba(243,156,18,0.15) !important;
    color: #f1c40f !important;
    border-color: rgba(243,156,18,0.3) !important;
}
/* Recaptcha / CAPTCHA */
.captcha-container {
    background: #243342 !important;
    border: 1px solid rgba(62,193,213,0.2) !important;
    border-radius: 8px;
    padding: 15px;
}
/* Shopping cart */
.order-summary, .order-summary .panel {
    background: #243342 !important;
}

/* ===========================
   Glass Panels
   =========================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(62, 193, 213, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    padding: 30px;
}

/* ===========================
   Tech Grid Background for Heros
   =========================== */
.tech-grid {
    background-color: #2C3E50;
    background-image:
      linear-gradient(rgba(62, 193, 213, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(62, 193, 213, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    border-bottom: 1px solid rgba(62, 193, 213, 0.3);
    padding: 100px 0;
    position: relative;
}

/* ===========================
   Glowing Neon Text
   =========================== */
.neon-text {
    color: #3EC1D5 !important;
    text-shadow: 0 0 5px rgba(62,193,213,0.5), 0 0 10px rgba(62,193,213,0.5);
}

/* ===========================
   Tech Shortcuts Layout
   =========================== */
.tech-shortcuts ul { list-style: none; padding: 0; display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 50px; }
.tech-shortcuts li { flex: 1; min-width: 250px; margin: 10px; }
.tech-shortcuts a {
    display: block;
    padding: 30px;
    border: 1px solid rgba(62,193,213,0.2);
    text-align: center;
    border-radius: 5px;
    color: #ECF0F1;
    transition: all 0.3s;
    background: rgba(0,0,0,0.2);
}
.tech-shortcuts a:hover {
    border-color: #3EC1D5;
    background: rgba(62,193,213,0.1);
    text-decoration: none;
    box-shadow: inset 0 0 20px rgba(62,193,213,0.1);
}
.tech-shortcuts i { font-size: 2.5rem; color: #3EC1D5; margin-bottom: 15px; display: block; }
.tech-shortcuts p { font-family: 'Fira Code', monospace; margin: 0; font-size: 1.1rem; color: #ECF0F1; }

/* ===========================
   Scrollbar (webkit)
   =========================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1a252f;
}
::-webkit-scrollbar-thumb {
    background: rgba(62,193,213,0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(62,193,213,0.5);
}
