/**
 * Ticketing Master - Combined Styles
 * Version: 1.0.0
 */

/* ======= TABLE OF CONTENTS =======
1. Variables & Base Styles
2. Support Portal Styles
   2.1 Header
   2.2 Navigation
   2.3 Ticket List
   2.4 Forms
   2.5 Dashboard
   2.6 Footer
3. Yazaki Portal Styles
4. SAP Integration Styles
5. Animation Classes
6. Responsive Styles
=============================== */

/* ======= 1. Variables & Base Styles ======= */
:root {
    --tm-primary: #003366;       /* Dark blue for header */
    --tm-secondary: #0066a1;     /* Medium blue for secondary elements */
    --tm-accent: #e2001a;        /* Red accent for buttons/highlights */
    --tm-light-gray: #f8f8f8;    /* Light background color */
    --tm-dark-gray: #333333;     /* Text color */
    --tm-white: #ffffff;         /* White color */
    --tm-border-light: #e0e0e0;  /* Light border color */
    
    /* Status colors */
    --tm-status-open: #ff5252;       /* Red for open */
    --tm-status-closed: #4caf50;     /* Green for closed */
    --tm-status-pending: #fb8c00;    /* Orange for pending */
    
    /* Shadow and border radius */
    --tm-box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --tm-border-radius: 8px;
    --tm-transition: all 0.3s ease;
}

/* Universal reset */
.tm-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.tm-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
    color: var(--tm-dark-gray);
    line-height: 1.6;
}

/* ======= 2. Support Portal Styles ======= */

/* WordPress margin fix */
.tm-support-page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background-color: var(--tm-light-gray);
}

.tm-support-page #wpadminbar {
    position: fixed;
}

.tm-support-page .wp-site-blocks,
.tm-support-page .entry-content,
.tm-support-page .wp-block-post-content,
.tm-support-page .wp-block-group,
.tm-support-page .wp-container-core-group-layout {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

/* ======= 2.1 Header Styles ======= */
.tm-support-header, 
.tm-yazaki-header {
    background-color: var(--tm-primary);
    color: var(--tm-white);
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--tm-transition);
    width: 100%;
}

/* Header shrink effect on scroll */
.tm-support-header.scrolled,
.tm-yazaki-header.scrolled {
    padding: 10px 0;
}

.tm-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.tm-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--tm-white);
    position: relative;
    transition: transform 0.3s ease;
}

.tm-logo:hover {
    transform: scale(1.05);
}

.tm-logo span {
    color: var(--tm-accent);
    font-weight: normal;
}

/* Logo underline animation */
.tm-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--tm-accent);
    transition: width 0.3s ease;
}

.tm-logo:hover::after {
    width: 100%;
}

.tm-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-nav ul li {
    margin-left: 20px;
}

.tm-nav ul li a {
    color: var(--tm-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

/* Navigation link underline animation */
.tm-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--tm-accent);
    transition: width 0.3s ease;
}

.tm-nav ul li a:hover::after {
    width: 100%;
}

.tm-nav ul li a:hover {
    color: var(--tm-accent);
    transform: translateY(-2px);
}

/* Login button animation */
.tm-nav ul li a.tm-btn,
.tm-btn {
    background-color: var(--tm-accent);
    color: var(--tm-white);
    padding: 8px 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--tm-accent);
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.tm-nav ul li a.tm-btn:hover,
.tm-btn:hover {
    background-color: transparent;
    color: var(--tm-white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(226, 0, 26, 0.4);
}

.tm-nav ul li a.tm-btn::after {
    display: none;
}

/* ======= 2.2 Ticket List Styles ======= */
.tm-support-page #wpsc-container,
.tm-support-page .wpsc-container {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    margin-top: 25px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.tm-ticket-header {
    background-color: var(--tm-white);
    padding: 25px;
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    margin-bottom: 20px;
    text-align: center;
}

.tm-ticket-header h2 {
    color: var(--tm-primary);
    margin-bottom: 10px;
    font-size: 24px;
}

.tm-ticket-header p {
    color: var(--tm-dark-gray);
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tm-quick-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background-color: var(--tm-white);
    padding: 15px;
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
}

.tm-filter-buttons {
    display: flex;
    gap: 10px;
}

.tm-filter-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    background-color: #f0f0f0;
    color: var(--tm-dark-gray);
    cursor: pointer;
    transition: var(--tm-transition);
    font-size: 14px;
}

.tm-filter-btn.active, 
.tm-filter-btn:hover {
    background-color: var(--tm-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 102, 161, 0.2);
}

.tm-filter-open {
    border-left: 3px solid var(--tm-status-open);
}

.tm-filter-closed {
    border-left: 3px solid var(--tm-status-closed);
}

.tm-filter-pending {
    border-left: 3px solid var(--tm-status-pending);
}

.tm-search-filter {
    position: relative;
    flex: 1;
    max-width: 300px;
    margin-left: auto;
}

.tm-search-filter input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: var(--tm-transition);
}

.tm-search-filter input:focus {
    border-color: var(--tm-secondary);
    box-shadow: 0 0 0 3px rgba(0, 102, 161, 0.1);
    outline: none;
}

.tm-search-filter i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.tm-ticket-list-container {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    overflow: hidden;
    transition: var(--tm-transition);
    margin-bottom: 30px;
}

.tm-ticket-list-container:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.tm-ticket-list {
    overflow: visible !important;
}

.tm-ticket-list-tbl,
.tm-support-page .wpsc-ticket-list-tbl {
    width: 100% !important;
    border-collapse: collapse;
}

.tm-ticket-list-tbl th,
.tm-support-page .wpsc-ticket-list-tbl th {
    background-color: var(--tm-primary) !important;
    color: var(--tm-white) !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    padding: 15px !important;
    text-align: left;
    border: none !important;
}

.tm-ticket-list-tbl tr,
.tm-support-page .wpsc-ticket-list-tbl tr {
    transition: var(--tm-transition);
    border-bottom: 1px solid #eee !important;
}

.tm-ticket-list-tbl tr:hover,
.tm-support-page .wpsc-ticket-list-tbl tr:hover {
    background-color: rgba(0, 102, 161, 0.05) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
}

.tm-ticket-list-tbl td,
.tm-support-page .wpsc-ticket-list-tbl td {
    padding: 12px 15px !important;
    border: none !important;
    vertical-align: middle !important;
}

.tm-ticket-list-tbl a,
.tm-support-page .wpsc-ticket-list-tbl a {
    color: var(--tm-secondary) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: var(--tm-transition) !important;
}

.tm-ticket-list-tbl a:hover,
.tm-support-page .wpsc-ticket-list-tbl a:hover {
    color: var(--tm-accent) !important;
}

/* Status badges styling */
.tm-badge,
.tm-support-page .badge,
.tm-support-page span.open,
.tm-support-page span.closed,
.tm-support-page span.pending {
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    color: white !important;
}

.tm-badge-success,
.tm-support-page .badge-closed,
.tm-support-page span.closed {
    background-color: var(--tm-status-closed) !important;
}

.tm-badge-info,
.tm-badge-open,
.tm-support-page .badge-open,
.tm-support-page span.open {
    background-color: var(--tm-status-open) !important;
}

.tm-badge-warning,
.tm-badge-pending,
.tm-support-page .badge-pending,
.tm-support-page span.pending {
    background-color: var(--tm-status-pending) !important;
}

.tm-badge-danger {
    background-color: #ff3d00 !important;
}

/* ======= 2.3 Pagination Styles ======= */
.tm-pagination,
.tm-support-page .pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tm-pagination a,
.tm-support-page .pagination a {
    padding: 8px 12px;
    background: var(--tm-white);
    margin: 0 5px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--tm-dark-gray);
    transition: var(--tm-transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
}

.tm-pagination a:hover,
.tm-support-page .pagination a:hover {
    background: var(--tm-light-gray);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.tm-pagination a.current,
.tm-support-page .pagination a.current {
    background: var(--tm-secondary);
    color: var(--tm-white);
}

/* ======= 2.4 Form Styles ======= */
.tm-support-page .wpsc-new-ticket-form,
.tm-create-ticket-wrapper {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    padding: 30px !important;
    transition: var(--tm-transition);
    margin-bottom: 30px;
}

.tm-support-page .wpsc-new-ticket-form:hover,
.tm-create-ticket-wrapper:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tm-support-page .wpsc-new-ticket-form .form-group,
.tm-form-group {
    margin-bottom: 25px !important;
}

.tm-support-page .wpsc-new-ticket-form label,
.tm-form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--tm-dark-gray);
    font-weight: 600;
    font-size: 14px;
}

.tm-support-page .wpsc-new-ticket-form input[type="text"],
.tm-support-page .wpsc-new-ticket-form input[type="email"],
.tm-support-page .wpsc-new-ticket-form input[type="number"],
.tm-support-page .wpsc-new-ticket-form select,
.tm-support-page .wpsc-new-ticket-form textarea,
.tm-form-group input[type="text"],
.tm-form-group input[type="email"],
.tm-form-group input[type="number"],
.tm-form-group select,
.tm-form-group textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    transition: var(--tm-transition) !important;
    background-color: var(--tm-light-gray) !important;
    color: var(--tm-dark-gray) !important;
    font-size: 14px !important;
}

.tm-support-page .wpsc-new-ticket-form input[type="text"]:focus,
.tm-support-page .wpsc-new-ticket-form input[type="email"]:focus,
.tm-support-page .wpsc-new-ticket-form input[type="number"]:focus,
.tm-support-page .wpsc-new-ticket-form select:focus,
.tm-support-page .wpsc-new-ticket-form textarea:focus,
.tm-form-group input[type="text"]:focus,
.tm-form-group input[type="email"]:focus,
.tm-form-group input[type="number"]:focus,
.tm-form-group select:focus,
.tm-form-group textarea:focus {
    border-color: var(--tm-secondary) !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 161, 0.1) !important;
    outline: none !important;
    background-color: var(--tm-white) !important;
}

.tm-support-page .wpsc-new-ticket-form button[type="submit"],
.tm-support-page .wpsc-new-ticket-form input[type="submit"],
.tm-form-submit {
    background-color: var(--tm-accent) !important;
    color: var(--tm-white) !important;
    border: 2px solid var(--tm-accent) !important;
    padding: 12px 25px !important;
    border-radius: 4px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: var(--tm-transition) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 14px !important;
}

.tm-support-page .wpsc-new-ticket-form button[type="submit"]:hover,
.tm-support-page .wpsc-new-ticket-form input[type="submit"]:hover,
.tm-form-submit:hover {
    background-color: transparent !important;
    color: var(--tm-accent) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(226, 0, 26, 0.2) !important;
}

/* Field error states */
.tm-field-error {
    border-color: var(--tm-status-open) !important;
    background-color: rgba(255, 82, 82, 0.05) !important;
}

.tm-error-message {
    color: var(--tm-status-open);
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Character counter */
.tm-char-counter {
    text-align: right;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Field focus animation */
.tm-field-focus label {
    color: var(--tm-secondary) !important;
    transition: var(--tm-transition);
}

/* ======= 2.5 Dashboard Styles ======= */
.tm-dashboard-container {
    padding: 30px 0;
}

.tm-dashboard-header {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tm-welcome-message {
    flex: 1;
    min-width: 300px;
}

.tm-welcome-message h1 {
    color: var(--tm-primary);
    margin-bottom: 10px;
    font-size: 28px;
}

.tm-welcome-message p {
    color: var(--tm-dark-gray);
    margin-bottom: 0;
}

.tm-dashboard-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.tm-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tm-widget {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    transition: var(--tm-transition);
}

.tm-widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tm-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.tm-widget-header h3 {
    margin: 0;
    color: var(--tm-primary);
    font-size: 18px;
}

.tm-widget-header i {
    color: var(--tm-secondary);
    font-size: 20px;
}

.tm-widget-content {
    padding: 20px;
}

.tm-widget-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.tm-widget-footer a {
    color: var(--tm-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--tm-transition);
    display: block;
}

.tm-widget-footer a:hover {
    color: var(--tm-accent);
}

.tm-ticket-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.tm-stat {
    padding: 10px;
}

.tm-stat-value {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.tm-stat-open {
    color: var(--tm-status-open);
}

.tm-stat-pending {
    color: var(--tm-status-pending);
}

.tm-stat-closed {
    color: var(--tm-status-closed);
}

.tm-stat-label {
    color: var(--tm-dark-gray);
    font-size: 14px;
}

.tm-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.tm-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--tm-dark-gray);
    padding: 15px;
    border-radius: var(--tm-border-radius);
    background-color: var(--tm-light-gray);
    transition: var(--tm-transition);
}

.tm-quick-action:hover {
    transform: translateY(-5px);
    box-shadow: var(--tm-box-shadow);
    color: var(--tm-accent);
}

.tm-quick-action i {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--tm-secondary);
}

.tm-quick-action:hover i {
    color: var(--tm-accent);
}

.tm-activity-list {
    margin-bottom: 15px;
}

.tm-activity-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.tm-activity-item:last-child {
    border-bottom: none;
}

.tm-activity-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(0, 102, 161, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.tm-activity-icon i {
    color: var(--tm-secondary);
}

.tm-activity-content {
    flex: 1;
}

.tm-activity-title {
    font-size: 14px;
    margin-bottom: 3px;
}

.tm-activity-title a {
    color: var(--tm-secondary);
    text-decoration: none;
    transition: var(--tm-transition);
}

.tm-activity-title a:hover {
    color: var(--tm-accent);
}

.tm-activity-meta {
    font-size: 12px;
    color: #666;
}

.tm-loading {
    text-align: center;
    padding: 15px;
    color: #666;
}

.tm-loading i {
    margin-right: 5px;
    color: var(--tm-secondary);
}

.tm-no-activity {
    text-align: center;
    padding: 15px;
    color: #666;
    font-style: italic;
}

.tm-support-resources {
    margin-bottom: 40px;
}

.tm-resources-header {
    text-align: center;
    margin-bottom: 30px;
}

.tm-resources-header h2 {
    color: var(--tm-primary);
    font-size: 28px;
    margin-bottom: 10px;
}

.tm-resources-header p {
    color: var(--tm-dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

.tm-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tm-resource-card {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    padding: 30px;
    transition: var(--tm-transition);
    display: flex;
    align-items: flex-start;
}

.tm-resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tm-resource-icon {
    width: 50px;
    height: 50px;
    background-color: var(--tm-secondary);
    color: var(--tm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 20px;
    flex-shrink: 0;
}

.tm-resource-content {
    flex: 1;
}

.tm-resource-content h3 {
    color: var(--tm-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.tm-resource-content p {
    color: var(--tm-dark-gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.tm-resource-link {
    color: var(--tm-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--tm-transition);
    display: inline-block;
}

.tm-resource-link:hover {
    color: var(--tm-accent);
}

.tm-contact-support {
    background-color: var(--tm-accent);
    color: var(--tm-white);
    padding: 60px 0;
    text-align: center;
    border-radius: var(--tm-border-radius);
    margin-bottom: 40px;
}

.tm-contact-content {
    max-width: 700px;
    margin: 0 auto;
}

.tm-contact-content h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.tm-contact-content p {
    margin-bottom: 30px;
}

.tm-btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* ======= 2.6 Footer Styles ======= */
.tm-support-footer,
.tm-yazaki-footer {
    background-color: var(--tm-primary);
    color: var(--tm-white);
    padding: 50px 0 20px;
    position: relative;
    width: 100%;
}

.tm-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tm-footer-column h3 {
    color: var(--tm-white);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.tm-footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--tm-accent);
    transition: width 0.3s ease;
}

.tm-footer-column:hover h3::after {
    width: 100%;
}

.tm-footer-column ul {
    list-style: none;
    padding: 0;
}

.tm-footer-column ul li {
    margin-bottom: 10px;
}

.tm-footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.tm-footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: -15px;
    top: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.tm-footer-column ul li a:hover {
    color: var(--tm-accent);
    transform: translateX(15px);
}

.tm-footer-column ul li a:hover::before {
    opacity: 1;
}

.tm-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.tm-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.tm-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--tm-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-social-link:hover {
    background-color: var(--tm-accent);
    transform: translateY(-5px);
}

/* Scroll to top button */
.tm-scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--tm-accent);
    color: var(--tm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.tm-scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.tm-scroll-top:hover {
    background-color: var(--tm-primary);
    transform: translateY(-5px);
}

/* Help box */
.tm-help-box {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    padding: 25px;
    text-align: center;
    margin-top: 30px;
}

.tm-help-box h3 {
    color: var(--tm-primary);
    margin-bottom: 15px;
}

.tm-help-box p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Notification system */
#tm-notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 350px;
}

.tm-notification {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.tm-notification.tm-show {
    transform: translateX(0);
}

.tm-notification-success {
    border-left: 4px solid var(--tm-status-closed);
}

.tm-notification-error {
    border-left: 4px solid var(--tm-status-open);
}

.tm-notification-info {
    border-left: 4px solid var(--tm-secondary);
}

.tm-notification-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.tm-notification-icon i {
    font-size: 24px;
}

.tm-notification-success .tm-notification-icon i {
    color: var(--tm-status-closed);
}

.tm-notification-error .tm-notification-icon i {
    color: var(--tm-status-open);
}

.tm-notification-info .tm-notification-icon i {
    color: var(--tm-secondary);
}

.tm-notification-content {
    flex: 1;
}

.tm-notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    margin-left: 10px;
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--tm-transition);
}

.tm-notification-close:hover {
    color: #333;
    transform: rotate(90deg);
}

/* Secondary Navigation */
.tm-support-page .wpsc-section-nav {
    background-color: var(--tm-secondary) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.tm-support-page .wpsc-section-nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.tm-support-page .wpsc-section-nav li {
    margin: 0 !important;
    border: none !important;
}

.tm-support-page .wpsc-section-nav li a {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 15px 20px !important;
    transition: var(--tm-transition) !important;
    display: flex !important;
    align-items: center !important;
}

.tm-support-page .wpsc-section-nav li a i {
    margin-right: 8px !important;
}

.tm-support-page .wpsc-section-nav li.active a {
    background-color: rgba(0, 0, 0, 0.2) !important;
    color: var(--tm-white) !important;
}

.tm-support-page .wpsc-section-nav li a:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: var(--tm-white) !important;
}

/* ======= 3. Yazaki Portal Styles ======= */
/* WordPress margin fix */
.tm-yazaki-portal-page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background-color: var(--tm-light-gray);
    color: var(--tm-dark-gray);
    line-height: 1.6;
}

.tm-yazaki-portal-page #wpadminbar {
    position: fixed;
}

/* Hero section */
.tm-hero {
    /*background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.9)), url('/api/placeholder/1200/400') no-repeat center center;*/
    background-size: cover;
    color: var(--tm-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Hero section animation */
.tm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.tm-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
}

.tm-hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-btn {
    display: inline-block;
    background-color: var(--tm-accent);
    color: var(--tm-white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--tm-accent);
    margin: 0 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 0.9s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.tm-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.tm-btn:hover::before {
    left: 0;
}

.tm-btn:hover {
    background-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: var(--tm-accent);
}

.tm-btn-secondary {
    background-color: var(--tm-white);
    color: var(--tm-accent);
    border: 2px solid var(--tm-white);
}

.tm-btn-secondary:hover {
    background-color: transparent;
    color: var(--tm-white);
    border-color: var(--tm-white);
}

/* Features section */
.tm-features {
    padding: 80px 0;
    position: relative;
    width: 100%;
}

.tm-section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--tm-primary);
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

/* Title underline animation */
.tm-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--tm-accent);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.tm-section-title.animate-title::after {
    width: 80px;
}

.tm-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tm-feature-box {
    background-color: var(--tm-white);
    padding: 30px;
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    top: 0;
    opacity: 0;
    transform: translateY(50px);
}

.tm-feature-box.animate {
    opacity: 1;
    transform: translateY(0);
}

.tm-feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.tm-feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--tm-secondary);
    color: var(--tm-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
}

/* Icon pulse animation */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 161, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 102, 161, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 161, 0); }
}

.tm-feature-box:hover .tm-feature-icon {
    background-color: var(--tm-accent);
    transform: rotateY(180deg);
    animation: pulse 1.5s infinite;
}

.tm-feature-box h3 {
    color: var(--tm-primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tm-feature-box:hover h3 {
    color: var(--tm-accent);
}

/* How it works section */
.tm-how-it-works {
    background-color: var(--tm-primary);
    color: var(--tm-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Background pattern animation */
.tm-how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 49%, rgba(255,255,255,0.05) 50%, transparent 51%);
    background-size: 20px 20px;
    animation: patternMove 20s linear infinite;
    z-index: 0;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

.tm-how-it-works .tm-container {
    position: relative;
    z-index: 1;
}

.tm-how-it-works h2 {
    margin-bottom: 50px;
    font-size: 32px;
    color: var(--tm-white);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.tm-how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--tm-accent);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.tm-how-it-works h2.animate-title::after {
    width: 80px;
}

.tm-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
}

/* Connection line between steps */
.tm-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tm-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s ease-out;
}

.tm-steps.animate-steps::before {
    transform: scaleX(1);
}

.tm-step {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.tm-step.animate {
    opacity: 1;
    transform: translateY(0);
}

.tm-step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--tm-accent);
    color: var(--tm-white);
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.tm-step:hover .tm-step-number {
    transform: scale(1.2);
    box-shadow: 0 0 0 5px rgba(226, 0, 26, 0.3);
}

.tm-step h3 {
    transition: all 0.3s ease;
}

.tm-step:hover h3 {
    color: var(--tm-accent);
}

/* Testimonials section */
.tm-testimonials {
    padding: 80px 0;
    background-color: var(--tm-light-gray);
    position: relative;
    width: 100%;
}

.tm-testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--tm-primary);
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.tm-testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--tm-accent);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.tm-testimonials h2.animate-title::after {
    width: 80px;
}

.tm-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tm-testimonial-box {
    background-color: var(--tm-white);
    padding: 30px;
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    position: relative;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
}

.tm-testimonial-box.animate {
    opacity: 1;
    transform: scale(1);
}

.tm-testimonial-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Quote mark */
.tm-testimonial-box::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(0, 51, 102, 0.1);
    font-family: Georgia, serif;
}

.tm-testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tm-testimonial-author {
    font-weight: bold;
    color: var(--tm-primary);
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.tm-testimonial-author::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 10px;
    height: 2px;
    background-color: var(--tm-accent);
}

.tm-testimonial-box:hover .tm-testimonial-author {
    color: var(--tm-accent);
}

/* CTA section */
.tm-cta {
    background-color: var(--tm-accent);
    color: var(--tm-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Background shine animation */
.tm-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: ctaShine 5s infinite;
}

@keyframes ctaShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.tm-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.tm-cta h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--tm-white);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.tm-cta h2.animate-title::after {
    width: 80px;
}

.tm-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeIn 1s forwards 0.3s;
}

.tm-cta .tm-btn {
    background-color: var(--tm-white);
    color: var(--tm-accent);
    border: 2px solid var(--tm-white);
    margin-top: 10px;
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
}

.tm-cta .tm-btn:hover {
    background-color: transparent;
    color: var(--tm-white);
}

/* Modal styles */
.tm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tm-modal.open {
    opacity: 1;
    visibility: visible;
}

.tm-modal-content {
    background-color: var(--tm-white);
    padding: 30px;
    border-radius: var(--tm-border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.tm-modal.open .tm-modal-content {
    transform: scale(1);
}

.tm-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: var(--tm-dark-gray);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tm-close-modal:hover {
    color: var(--tm-accent);
    transform: rotate(90deg);
}

/* ======= 4. SAP Integration Styles ======= */
.tm-tickets-container {
    margin-bottom: 20px;
}

.tm-ticket-list {
    overflow-x: auto;
}

.tm-ticket-list-tbl {
    width: 100%;
    border-collapse: collapse;
}

.tm-ticket-list-tbl th {
    background-color: var(--tm-primary);
    color: var(--tm-white);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.tm-ticket-list-tbl tr {
    border-bottom: 1px solid #eee;
}

.tm-ticket-list-tbl tr:hover {
    background-color: rgba(0, 102, 161, 0.05);
}

.tm-ticket-list-tbl td {
    padding: 10px 15px;
}

.tm-button {
    display: inline-block;
    background-color: var(--tm-secondary);
    color: var(--tm-white);
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: var(--tm-transition);
}

.tm-button:hover {
    background-color: var(--tm-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Vendor dashboard */
.tm-vendor-dashboard {
    background-color: var(--tm-white);
    border-radius: var(--tm-border-radius);
    box-shadow: var(--tm-box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.tm-vendor-dashboard h2 {
    color: var(--tm-primary);
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.tm-vendor-status-pending,
.tm-vendor-status-approved,
.tm-vendor-status-rejected {
    padding: 15px;
    border-radius: var(--tm-border-radius);
    margin-bottom: 25px;
}

.tm-vendor-status-pending {
    background-color: rgba(251, 140, 0, 0.1);
    border-left: 4px solid var(--tm-status-pending);
}

.tm-vendor-status-approved {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--tm-status-closed);
}

.tm-vendor-status-rejected {
    background-color: rgba(255, 82, 82, 0.1);
    border-left: 4px solid var(--tm-status-open);
}

.tm-vendor-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tm-vendor-widget {
    background-color: var(--tm-light-gray);
    border-radius: var(--tm-border-radius);
    padding: 20px;
}

.tm-vendor-widget h3 {
    color: var(--tm-primary);
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.tm-vendor-invoices,
.tm-vendor-tickets,
.tm-vendor-orders {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.tm-vendor-invoices th,
.tm-vendor-tickets th,
.tm-vendor-orders th {
    text-align: left;
    padding: 8px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #ddd;
}

.tm-vendor-invoices td,
.tm-vendor-tickets td,
.tm-vendor-orders td {
    padding: 8px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.tm-vendor-invoices a,
.tm-vendor-tickets a,
.tm-vendor-orders a {
    color: var(--tm-secondary);
    text-decoration: none;
    transition: var(--tm-transition);
}

.tm-vendor-invoices a:hover,
.tm-vendor-tickets a:hover,
.tm-vendor-orders a:hover {
    color: var(--tm-accent);
}

/* ======= 5. Animation Classes ======= */
.tm-fade-in {
    opacity: 0;
    animation: tmFadeIn 0.5s forwards;
}

.tm-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: tmFadeInUp 0.5s forwards;
}

@keyframes tmFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tmFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= 6. Responsive Styles ======= */
/* Mobile menu toggle */
.tm-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--tm-white);
    font-size: 24px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .tm-header-content {
        flex-direction: column;
        text-align: center;
        position: relative;
    }
    
    .tm-logo {
        margin-bottom: 20px;
    }
    
    .tm-mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }
    
    .tm-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .tm-nav ul.tm-mobile-visible {
        display: flex;
    }
    
    .tm-nav ul li {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .tm-quick-filters {
        flex-direction: column;
    }
    
    .tm-filter-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .tm-search-filter {
        width: 100%;
        max-width: none;
    }
    
    .tm-footer-content {
        grid-template-columns: 1fr;
    }
    
    .tm-dashboard-header {
        flex-direction: column;
    }
    
    .tm-welcome-message {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .tm-dashboard-actions {
        justify-content: center;
    }
    
    .tm-dashboard-widgets {
        grid-template-columns: 1fr;
    }
    
    .tm-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .tm-vendor-widgets {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .tm-hero h1 {
        font-size: 28px;
    }
    
    .tm-hero p {
        font-size: 16px;
    }
    
    .tm-btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .tm-steps::before {
        display: none;
    }
    
    .tm-step {
        margin-bottom: 30px;
        width: 100%;
    }
    
    .tm-section-title,
    .tm-how-it-works h2,
    .tm-testimonials h2,
    .tm-cta h2 {
        font-size: 24px;
    }
    
    .tm-feature-box,
    .tm-testimonial-box {
        padding: 20px;
    }
    
    .tm-resource-card {
        flex-direction: column;
    }
    
    .tm-resource-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Fix for admin bar */
.admin-bar .tm-support-header,
.admin-bar .tm-yazaki-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .tm-support-header,
    .admin-bar .tm-yazaki-header {
        top: 46px;
    }
}
/* WebbingStone Support styling fixes */
.wpsc-page-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
}

.wpsc-page-title {
    margin-bottom: 20px;
}

.wpsc-page-title h2 {
    font-size: 24px;
    margin: 0;
    padding: 0;
    color: var(--tm-primary);
}

/* Fix TinyMCE editor display */
.mce-tinymce {
    visibility: visible !important;
}

/* Fix select2 width */
.select2-container {
    width: 100% !important;
}

/* Form field spacing fix */
.wpsc-tff {
    margin-bottom: 15px;
}

/* Form container fixes */
.wpsc-shortcode-container {
    border: none !important;
}

/* Make container visible on page load */
.wpsc-body {
    padding: 0 !important;
}

/* Ensure form field width consistency */
.wpsc-create-ticket-form textarea,
.wpsc-create-ticket-form input[type="text"],
.wpsc-create-ticket-form input[type="email"],
.wpsc-create-ticket-form select {
    width: 100% !important;
    max-width: 100% !important;
}


/* Hide the default SupportCandy header and navigation */
.wpsc-header,
.wpsc-section-nav,
.wpsc-page-title,
.wpsc-breadcrumb,
.wpsc-header-container,
.wpsc-hero-section,
.wpsc-actions-container,
#wpsc-top-nav,
.wpsc-front-page-container > h1,
.wpsc-front-page-container > h2,
.wpsc-front-page-container > .wpsc-subtitle,
.wpsc-front-page-container > .wpsc-description {
    display: none !important;
}

/* Remove any margins or padding that might be left */
#wpsc-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any default backgrounds and borders */
.wpsc-container, 
#wpsc-container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure content width is full */
.wpsc-body,
.wpsc-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hide any empty divs that might be taking up space */
.wpsc-body:empty,
.wpsc-content:empty {
    display: none !important;
}

/* Hide the default title section */
.entry-header,
.page-header {
    display: none !important;
}

/* SupportCandy 3.0+ specific selectors to hide */
.wpsc-front-header,
.wpsc-nav-container,
.wpsc-front-header-container {
    display: none !important;
}

/* Font Awesome fallback */
@font-face {
    font-family: 'FontAwesome';
    src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff2') format('woff2'),
         url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/webfonts/fa-solid-900.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* In case Font Awesome classes are missing */
[class^="fa-"]:before,
[class*=" fa-"]:before,
[class^="fas-"]:before,
[class*=" fas-"]:before {
    font-family: 'FontAwesome' !important;
}