/*
Theme Name: DayTradeCoder
Theme URI: https://daytradecoder.com
Author: Preston Lord
Author URI: https://daytradecoder.com
Description: Minimal application-first theme for DayTradeCoder
Version: 1.0.4.31
License: GPLv2 or later
Text Domain: dtc
*/

/* ================================
   CSS VARIABLES (GLOBAL DESIGN TOKENS)
================================ */
:root {
    --bg: #0e1117;
    --panel: #c77c0c;
    --panel-alt: #5d4118;
    --border: #30363d;
    --menu-links: #e6edf3;
    --light-text: #e6edf3;
    --text: #0e1117;
    --muted: #9ba3af;
    --accent: #c77c0c;
    --danger: #ff5252;
    --content-bg: #e6edf3;


    --radius: 6px;
    --radius-lg: 10px;
    --max-width: 1200px;
}

/* ================================
   BASE RESET
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}
.dtc-button {
    color: var(--menu-links) !important;

}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

nav a, .dtc-logo a{
    color: var(--menu-links);
}
a {
    color: var(--accent);
    text-decoration: none;
}

.dtc-container a:hover {
    text-decoration: underline;
}
/* ================================
   LOGO
================================ */
#dtc-logo-img{
    width: 500px;
    max-width: 100%;
}
#dtc-logo-badge-img{
    max-width: 100px;
    margin-right: 4em;
}


/* PRICING TABLE */

.wpb-pricing-table ul{
    list-style: none;
    padding-left: 0 !important;
}
.wpb-pricing-table ul li{
    display: block;
    padding: 0.5em 0;
    border-bottom: 1px solid #33333322;
}
.price-extras{
    padding: 1em;
    display: block;
    margin: -1em;
    background: #c5c5c5;;
}
.wpb-pricing-table ul.price-extras li{
    padding: 0.25em 0 0.25em 1em;
    color: #a46304;
}
.wpb-pricing-table button{
    font-size: 1.2em !important;
    border: 1px solid #333333 !important;
}
s{
    color: #999999;
}
.platform-req{
    color: red;
}
.wpb-pricing-table{
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.most-popular{
    font-size: 1.2em;
    /*transform: scale(1.03);*/
    box-shadow: 0 8px 20px rgba(0,0,0,0.8);
}
.most-popular .badge{
    display: block;
    margin: auto;
    width: 75%;
    font-size: 1.2em;

}

/* ================================
   WOO ACCOUNT HEADER MENU
================================ */
.dtc-account-nav-container{
    background: #222222;
    padding: 0.25em;
}
.dtc-account-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 0.9rem;
}

.dtc-account-link, .dtc-mobile-account-link  {
    color: var(--panel) !important;
    padding: 6px 10px;
    border-radius: var(--radius);
    transition: background 0.15s ease, color 0.15s ease;
}

.dtc-account-link:hover {
    background: var(--bg);
    color: var(--light-text);
}

.dtc-account-link.is-active {
    background: var(--panel) !important;
    color: var(--bg) !important;
}
.dtc-account-link.is-active a{
    color: var(--bg) !important;
}
.dtc-mobile-account-link.is-active{
    color: var(--light-text) !important;
}



    /* ================================
       LAYOUT
    ================================ */
.dtc-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.dtc-header {
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.dtc-header .dtc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.dtc-logo a {
    font-weight: 700;
    font-size: 1.1rem;
}

.dtc-nav{
    display: block;
    width: fit-content;
    margin: auto;
}
.dtc-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.card-body{
    background: #eeeeee;
}
.dtc-content {
    padding: 20px 0;
    background: #ffffff;
    color: var(--text);
}

.dtc-footer {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    color: var(--light-text);
    font-size: 0.9rem;
    background: var(--panel);
}
.footer-links{
    color: #333 !important;
    display: inline-block;
    padding: 0.25em 1em;
}
/* ================================
   JOIN NOW CTA BUTTON
================================ */
.dtc-nav .dtc-join-btn > a {
    background: var(--light-text);
    color: var(--accent) !important;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dtc-nav .dtc-join-btn > a:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    text-decoration: none;
}

/* ================================
   LOGIN / JOIN PAGE
================================ */
.dtc-login-panel {
    max-width: 420px;
    margin: 0 auto;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.dtc-login-panel h1 {
    margin-top: 0;
}

.dtc-login-panel input[type="text"],
.dtc-login-panel input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--accent);
    border-radius: var(--radius);
}

.dtc-login-panel input[type="submit"] {
    width: 100%;
    color: var(--accent);
    background: var(--bg);
    border: none;
    padding: 10px;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
}

.dtc-login-links {
    margin-top: 12px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--bg);
}

/* ================================
   FULL-WIDTH WOO ACCOUNT PAGES
================================ */
.woocommerce-account .woocommerce {
    display: block;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}

/* ================================
   HOME HERO
================================ */
.dtc-home {
    padding-top: 0;
}

.dtc-hero {
    background: linear-gradient(
            135deg,
            rgba(0,0,0,0.4),
            rgba(0,0,0,0.2)
    ),
    url('https://daytradecoder.com/wp-content/uploads/2025/11/istockphoto-1358049216-1024x1024-1.jpg') center/cover no-repeat;
    padding: 100px 0;
    color: var(--light-text);
    background-position: center 28%;
}

.dtc-hero-title {
    font-size: 3rem;
    max-width: 800px;
    margin-bottom: 16px;
}

.dtc-hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 32px;
    color: var(--muted);
}

.dtc-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.dtc-btn-primary {
    background: var(--light-text);
    color: var(--accent);
    padding: 12px 22px;
    border-radius: var(--radius);
    font-weight: 700;
}

.dtc-btn-secondary {
    border: 1px solid var(--light-text);
    color: var(--light-text);
    padding: 12px 22px;
    border-radius: var(--radius);
}

/* Content section */
.dtc-home-content {
    padding: 60px 0;
}


/* ================================
   LOG TABLE MOBILE TWEAKS
================================ */
.dtc-log-details {
    font-size: 0.85rem;
    color: var(--muted);
}

.dtc-log-row code {
    word-break: break-all;
}


/* ================================
   SCREEN TABLE ENHANCEMENTS
================================ */
.dtc-resolution-preview {
    display: inline-block;
    border: 1px solid #333;
    background: #ddd;
    vertical-align: middle;
}

/* Prevent preview overflow on mobile */
@media (max-width: 767.98px) {

    .table-responsive > table td .dtc-resolution-preview {
        flex: unset !important;
    }

    .dtc-resolution-preview {
        margin-top: 4px;
    }

    #dtc-logo-badge-img{
        display: none;
    }
}



/* Mobile table stacking */
@media (max-width: 768px) {

    .table-responsive {
        overflow-x: hidden; /* kill sideways scroll */
    }

    table.table thead {
        display: none;
    }

    table.table tr {
        display: block;
        border-bottom: 1px solid #333;
        margin-bottom: 1rem;
        background: #f6f6f6;;
    }

    table.table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.5rem 0;
        border: none;
    }



    /* Allow long values to wrap */
    .dtc-key-masked,
    .dtc-key-full,
    .dtc-ip-input {
        word-break: break-all;
        max-width: 100%;

    }

    /* Stack input-group vertically */
    .input-group {
        flex-direction: column;
        gap: 0.25rem;
    }

    .input-group .btn {
        width: 100%;
    }

    /* Action buttons full-width stack */
    td[data-label="Actions"] .d-flex {
        flex-direction: column;
        width: 100%;
    }

    td[data-label="Actions"] .btn {
        width: 100%;
    }
}

/* Desktop nav */
.dtc-nav-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-item{
    border: 1px solid #33333355;
    padding: 0.25em 1em 0.25em 1em;
    background: #33333333;
}
.menu-item:hover{
    border: 1px solid #33333333;
    padding: 0.25em 1em 0.25em 1em;
    background: #33333311;
}
.menu-item.current-menu-item{
    border: 1px solid #33333355;
    padding: 0.25em 1em 0.25em 1em;
    background: #33333399;
}
.dtc-nav-list a {
    text-decoration: none;
    font-weight: 500;
}

/*Account Menu*/
.menu-container{
    background: #333;
    margin: 0px !important;
    max-width: 100%;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.dtc-account-link{
    border: 1px solid #eeeeee22;
    padding: 0.25em 1em 0.25em 1em;
    background: #eeeeee11;
    margin: 0.125em 0.5em;
    min-width: 140px;
}

.dtc-account-link:hover{
    border: 1px solid #eeeeee33;
    padding: 0.25em 1em 0.25em 1em;
    background: #eeeeee22;
}
.dtc-account-link:hover a{
    text-decoration: none !important;
}

    /* Mobile nav */
.dtc-mobile-nav li {
    margin-bottom: 0.75rem;
}

.dtc-mobile-nav a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
    text-decoration: none;
}


/* Mobile: remove layout constraints that break offcanvas */
@media (max-width: 991.98px) {

    .dtc-account-nav {
        max-width: 100%;
        margin: 0;
        width: 100%;
    }

}

/* Ensure offcanvas always spans viewport */
#dtcMobileNav {
    width: 100vw;
    max-width: 100vw;
}
@media (max-width: 991.98px) {
    .dtc-account-nav-container {
        display: none;
    }
}

/* ================================
   MOBILE ACCOUNT NAV (OFFCANVAS)
================================ */

.dtc-mobile-account-nav li {
    margin-bottom: 0.5rem;
}

.dtc-mobile-account-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--menu-links);
    background: transparent;
    font-weight: 500;
}

.dtc-mobile-account-link:hover {
    background: rgba(255,255,255,0.08);
    text-decoration: none;
}

.dtc-mobile-account-link.is-active {
    background: var(--accent);
    color: #000;
    font-weight: 700;
}
.dtc-url-wrap {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

/* Labels hidden on desktop */
.dtc-mobile-label {
    display: block;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.25rem;
}
@media (min-width: 769px) {
    .dtc-mobile-label {
        display: none;
    }
}
/* Mobile layout */
@media (max-width: 768px) {

    table.table thead {
        display: none;
    }

    table.table tr {
        display: block;
        margin-bottom: 1rem;
        border-bottom: 1px solid #ddd;
    }

    table.table td {
        display: block;
        padding: 0.5rem 0;
        border: none;
    }

    .dtc-mobile-label {
        display: inline-block !important;
        width: 30% !important;

    }

    .dtc-mobile-value {
        display: block;
        display: inline-block;
        width: 65%;
        overflow: hidden;

    }

    .dtc-url-wrap {
        word-break: break-all;
        overflow-wrap: anywhere;
        white-space: normal;
    }
}
