@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700&display=swap');

/* Simple Ticket System - Frontend Styles */
/* Ticket Form Layout */
.sts-ticket-form {
    max-width: 800px;
    /* Increased to allow 2 columns better */
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.sts-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.sts-form-col-50 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.sts-form-col-100 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.sts-ticket-form .form-group {
    margin-bottom: 20px;
}

.sts-ticket-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.sts-ticket-form input[type="text"],
.sts-ticket-form input[type="email"],
.sts-ticket-form textarea,
.sts-ticket-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    background-color: #fcfcfc;
    color: #444;
    line-height: 1.4;
}

.sts-ticket-form input[readonly] {
    background-color: #f9f9f9;
    color: #666;
}

@media (max-width: 600px) {
    .sts-form-col-50 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.sts-ticket-form button:hover,
.sts-reply-form button:hover,
.sts-my-account-ticket-view .button:hover {
    opacity: 0.9;
}

.sts-success-message {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* WooCommerce Table Refinements */
.woocommerce-MyAccount-content .account-orders-table {
    width: 100% !important;
    table-layout: auto !important;
}

.woocommerce-MyAccount-content .account-orders-table th,
.woocommerce-MyAccount-content .account-orders-table td {
    padding: 12px 10px !important;
    vertical-align: middle !important;
}

/* Ensure branding buttons in tables don't wrap */
.q-btn-table {
    white-space: nowrap !important;
    display: inline-block !important;
}