/**
 * Auction FX Purchase Styles
 * @package Auction FX
 * @version 1.0.3
 */
.auction-fx-purchase-form,
.account-section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.auction-fx-purchase-form h1,
.account-section-content h2,
.account-section-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}
.advertisements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.advertisements-table th,
.advertisements-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}
.advertisements-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}
@media screen and (max-width: 600px) {
    .advertisements-table thead {
        display: none;
    }
    .advertisements-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #ddd;
    }
    .advertisements-table td {
        display: block;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }
    .advertisements-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        font-weight: bold;
        text-align: left;
    }
}
@media screen and (min-width: 601px) {
    .advertisements-table {
        table-layout: fixed;
    }
    .advertisements-table tr {
        display: table-row;
    }
    .advertisements-table td {
        display: table-cell;
    }
}
.form-row-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-row-half {
    flex: 1 1 45%;
    box-sizing: border-box;
    min-width: 200px;
}
.form-row-half select,
.form-row-half input,
.form-row-half textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.flex-label {
    display: flex;
    align-items: center;
    width: 100%;
}
.flex-label .label-text {
    flex: 0 0 95%;
}
.label-textb {
    flex: 0 0 95%;
    font-weight: bold;
}
.flex-label .flex-checkbox {
    flex: 0 0 5%;
}
.radio-question {
    min-width: 100%;
    float: left;
}
.radio-group {
    display: flex;
    margin: -20px 0px 0px 10px;
}
.flex-radio {
    margin: -20px 0px 0px 10px;
}
#wfxtcost {
    font-weight: bold;
    font-size: larger;
}
#total-cost-display {
    font-weight: bold;
    font-size: x-large;
}
#categories-container {
    display: inline-grid;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
#categories-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
#categories-container .category-label {
    flex: 0 0 auto;
}
#image-container {
    display: none;
}
.woocommerce-form-row label {
    margin-bottom: 5px;
    display: block;
}
.woocommerce-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.woocommerce-button:hover {
    background-color: #005177;
}
#confirmation-dialog {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 20px;
    border-radius: 4px;
}
.afx-visible {
    display: block !important;
    visibility: visible !important;
}
.afx-hidden {
    display: none !important;
    visibility: hidden !important;
}
.afx-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
}
.afx-modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}
.afx-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.afx-close:hover, .afx-close:focus {
    color: black;
    text-decoration: none;
}
.afx-modal-footer {
    text-align: right;
    margin-top: 20px;
}
.afx-modal-footer button {
    margin-left: 10px;
    padding: 5px 10px;
}
.afx-tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 1001;
    white-space: normal;
    max-width: 50%;
    top: -10%;
    left: -10%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.afx-tooltip .afx-tooltip-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border: 5px solid transparent;
}