/* TLT Universal Fix - Overrides ALL Inconsistencies */
:root {
    --tlt-primary: #b8860b !important;
    --tlt-secondary: #daa520 !important;
    --tlt-border: 2px solid #000 !important;
    --tlt-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    --tlt-container-width: 1400px !important;
}

/* CONTAINER STANDARDIZATION - FORCE 1400px */
.main-wrapper,
.header-container,
.footer-container,
.studio-workspace,
.content-area,
.workspace-container,
.social-container,
.admin-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* BUTTON STANDARDIZATION - WHITE ONLY */
button,
.btn,
.logout-button,
.generate-btn,
.btn-primary,
.action-btn,
.nav-btn,
.submit-btn,
.login-btn {
    background: white !important;
    border: 2px solid var(--tlt-primary) !important;
    color: var(--tlt-primary) !important;
    font-family: Arial, sans-serif !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
}

button:hover,
.btn:hover,
.logout-button:hover,
.generate-btn:hover,
.btn-primary:hover,
.action-btn:hover,
.nav-btn:hover {
    background: var(--tlt-primary) !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

/* FORCE ALL BUTTONS TO BE VISIBLE - NUCLEAR OPTION */
button,
input[type="button"],
input[type="submit"],
a[href],
.btn,
.button,
[class*="btn"],
[class*="button"],
.hub-card-link,
.upgrade-btn,
.connect-btn,
.add-group-btn,
.remove-group-btn,
.upload-btn,
.admin-button,
.action-button,
.btn-sm,
.btn-outline-primary,
.btn-outline-warning,
.btn-outline-danger,
.start-btn,
.back-btn,
.book-btn,
.control-btn,
.nav-button,
.upgrade-button,
.fullscreen-btn,
.action-btn,
.hub-btn,
.dashboard-btn,
.member-btn,
.card-btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning,
.btn-danger,
.btn-info,
.btn-light,
.btn-dark {
    background: linear-gradient(135deg, #b8860b, #daa520) !important;
    color: white !important;
    border: 2px solid #000 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    min-height: 36px !important;
    line-height: 1.4 !important;
    font-size: 14px !important;
}

.hub-card-link:hover,
.upgrade-btn:hover,
.connect-btn:hover,
.add-group-btn:hover,
.remove-group-btn:hover,
.upload-btn:hover,
.admin-button:hover,
.action-button:hover,
.btn-sm:hover,
.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover,
.start-btn:hover,
.back-btn:hover,
.book-btn:hover,
.control-btn:hover,
.nav-button:hover,
.upgrade-button:hover,
.fullscreen-btn:hover,
.action-btn:hover,
.hub-btn:hover,
.dashboard-btn:hover,
.member-btn:hover,
.card-btn:hover,
a[class*="btn"]:hover,
button[class*="btn"]:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-success:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-info:hover,
.btn-light:hover,
.btn-dark:hover {
    background: linear-gradient(135deg, #9a7209, #b8860b) !important;
    transform: translateY(-2px) !important;
    color: white !important;
}

/* MENU HIGHLIGHTING - NO MORE ORANGE */
.sidebar-nav-link:hover,
.sidebar-nav-link.active,
.nav-link:hover,
.nav-link.active,
.menu-item:hover,
.menu-item.active {
    background-color: #f8f9fa !important;
    border-left: 3px solid var(--tlt-secondary) !important;
    color: var(--tlt-primary) !important;
    font-weight: bold !important;
}

/* REMOVE ALL ORANGE */
*[style*="orange"],
*[style*="#ff6b35"],
*[style*="#e74c3c"],
*[style*="#ffa500"] {
    color: var(--tlt-secondary) !important;
    background: transparent !important;
    border-color: var(--tlt-secondary) !important;
}

/* CONTAINER BORDERS */
.card,
.hub-card,
.stat-card,
.tool-section,
.email-composer,
.productivity-card,
.sidebar,
.content-area,
.main-content {
    border: var(--tlt-border) !important;
    box-shadow: var(--tlt-shadow) !important;
}

/* FONT CONSISTENCY */
body, * {
    font-family: Arial, sans-serif !important;
}

/* HEADER/FOOTER CONSISTENCY */
.site-header .header-container,
.site-footer .footer-container {
    max-width: 1400px !important;
}

/* LOGOUT BUTTON UNIVERSAL CONSISTENCY */
.logout-button,
.logout-btn {
    background: white !important;
    border: 2px solid #b8860b !important;
    color: #b8860b !important;
    padding: 8px 15px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.logout-button:hover,
.logout-btn:hover {
    background: #b8860b !important;
    color: white !important;
    text-decoration: none !important;
}
