/* File: assets/css/styles.css */

/* Hide the View Cart button on product pages */
.single_add_to_cart_button {
    display: none !important;
}

/* Hide the View Cart button on the checkout page */
.woocommerce-checkout .checkout-button {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    display: none !important;
}
.woocommerce-account .woocommerce-MyAccount-content .pro-dashboard {
    width: 100%;
    max-width: 100%;
}
.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}



/* Hide the entire notices wrapper containing cart confirmation */
.woocommerce-notices-wrapper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Double protection for the message itself */
.woocommerce-message.added_to_cart_wc {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Target WooCommerce pages specifically using body classes */
body.woocommerce-cart .woocommerce-message a.button.wc-forward,
body.woocommerce-checkout .woocommerce-message a.button.wc-forward,
body.woocommerce .added_to_cart {
    display: none;
}


/* Hide the entire success message after adding to cart */
body.woocommerce .woocommerce-message.added_to_cart_wc {
    display: none !important; /* Only use !important as last resort */
}

/* Hide Additional Information section completely */
.woocommerce-additional-fields,
h3#order_review_heading {
    display: none !important;
}


#password-rules ul {
    list-style-type: none;
    padding: 0;
}
#password-rules li {
    margin: 4px 0;
    font-weight: 500;
}


/***********USER PROFILE************/


/* =========================================
   VERIFIED / ENABLED BUTTON (GREEN)
========================================= */
.monk-btn-verified {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: #ffffff !important;
    border: none;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.35);
}

/* Hover effect */
.monk-btn-verified:hover {
    background: linear-gradient(135deg, #1e7e34, #155724);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.5);
    transform: translateY(-1px);
}

/* Active click */
.monk-btn-verified:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(40, 167, 69, 0.4);
}

/* Disabled state */
.monk-btn-verified:disabled {
    background: #9ad3ae;
    cursor: not-allowed;
    box-shadow: none;
}
/**************wallet **********/

/* --------------------------- */
/* Wallet Summary Table Styles */
/* --------------------------- */
.wp-list-table.wallet-summary {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.wp-list-table.wallet-summary thead {
    background-color: #f44336; /* Red header */
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
}

.wp-list-table.wallet-summary thead th {
    padding: 12px 15px;
    text-align: left;
}

.wp-list-table.wallet-summary tbody tr {
    border-bottom: 1px solid #eaeaea;
    transition: background 0.3s ease;
}

.wp-list-table.wallet-summary tbody tr:hover {
    background-color: #ffebee; /* Light red hover */
}

.wp-list-table.wallet-summary tbody td {
    padding: 12px 15px;
    font-size: 14px;
    vertical-align: middle;
}

.wp-list-table.wallet-summary tbody td .button {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 5px;
    transition: all 0.3s ease;
}

/* Specific button styles */
.wp-list-table.wallet-summary tbody td .credit {
    background-color: #28a745; /* Green */
    color: #fff;
    border: none;
}
.wp-list-table.wallet-summary tbody td .credit:hover {
    background-color: #218838;
}

.wp-list-table.wallet-summary tbody td .debit {
    background-color: #dc3545; /* Red */
    color: #fff;
    border: none;
}
.wp-list-table.wallet-summary tbody td .debit:hover {
    background-color: #c82333;
}

.wp-list-table.wallet-summary tbody td .ban {
    background-color: #6c757d; /* Gray */
    color: #fff;
    border: none;
}
.wp-list-table.wallet-summary tbody td .ban:hover {
    background-color: #5a6268;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .wp-list-table.wallet-summary thead {
        display: none;
    }

    .wp-list-table.wallet-summary tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eaeaea;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
    }

    .wp-list-table.wallet-summary tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
    }

    .wp-list-table.wallet-summary tbody td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #333;
    }
}


/*************DASHBOARD STYLING  ***********/

.themonkpro-referral-dashboard {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
}

.referral-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.overview-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    border-radius: 8px;
    text-align: center;
}

.overview-box h4 {
    color: #00B4F6;
    margin-bottom: 10px;
}


/**************LOGOUT CSS************/

.logout-confirm-wrapper {
    max-width: 600px;
    margin: 80px auto;
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.logout-confirm-wrapper h2 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}

.logout-confirm-actions a {
    display: inline-block;
    margin: 10px;
    padding: 12px 30px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.logout-confirm-actions a.logout-yes {
    background: #EB1C24;
    color: #fff;
}

.logout-confirm-actions a.logout-yes:hover {
    background: #07b307;
}

.logout-confirm-actions a.logout-no {
    background: #ccc;
    color: #333;
}

.logout-confirm-actions a.logout-no:hover {
    background: #bbb;
}

/*********************REFERRAL DASHBOARD******************/ 
.monkpro-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.monkpro-summary-table th,
.monkpro-summary-table td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}

.monkpro-summary-table thead {
    background-color: #f0f0f0;
    font-weight: bold;
}

.monkpro-summary-table .no-requests {
    text-align: center;
    font-style: italic;
    color: #777;
}




/*********************wallet dashboard******************/
.wallet-dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    box-sizing: border-box;
}

.wallet-sidebar {
    margin-top: 80px; /* adjust as needed */
    display: inline-block;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    align-self: flex-start;
    width: 250px;
    box-sizing: border-box;
}

.wallet-btn {
    display: block;
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    margin-top: 10px;
    background-color: #00B4F6;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.wallet-btn:hover {
    background-color: #09CB09;
}

.wallet-main {
    flex-grow: 1;
    min-width: 300px;
    box-sizing: border-box;
}

.wallet-balance {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.wallet-table-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
}

/* Scroll shadow indicator */
.wallet-table-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to left, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.wallet-table {
    min-width: 700px; /* Forces scroll on mobile */
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.wallet-table thead {
    background-color: #00B4F6;
    color: white;
}

.wallet-table th,
.wallet-table td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.95em;
    word-break: break-word;
}

.wallet-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.wallet-table td.debit {
    color: #D10000;
    font-weight: bold;
}

.wallet-table td.credit {
    color: #09CB09;
    font-weight: bold;
}

.hidden {
    display: none;
}

.scroll-hint {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 8px;
    text-align: right;
    display: none;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
    
    .wallet-dashboard-container {
        flex-direction: column;
    }

    .wallet-sidebar,
    .wallet-main {
        width: 100%;
    }

    .wallet-table-wrapper {
        overflow-x: visible; /* remove horizontal scroll on mobile */
    }

    /* Hide the original table */
    .wallet-table {
        display: none;
    }

    /* Show cards container */
    .wallet-cards-container {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Styles for individual transaction cards */
    .wallet-card {
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 0 8px rgba(0,0,0,0.1);
        padding: 15px 20px;
        box-sizing: border-box;
        font-size: 0.9em;
        color: #333;
    }

    /* Label-value pairs inside cards */
    .wallet-card .wallet-card-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .wallet-card .wallet-card-label {
        font-weight: 600;
        color: #575757;
    }

    .wallet-card .wallet-card-value {
        font-weight: 700;
    }

    .wallet-card .wallet-card-value.debit {
        color: #D10000;
    }

    .wallet-card .wallet-card-value.credit {
        color: #09CB09;
    }
    
}




 
 
 
 
 
.error-messages {
    color: #ff0000;
    background-color: #ffe6e6;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ff0000;
    border-radius: 5px;
}

#ast-scroll-top {
    display: none !important;
}




.buy-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.buy-job-card {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy-job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.buy-job-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.buy-job-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.placeholder-image {
    color: #cbd5e0;
}

.buy-job-details {
    padding: 1.25rem;
}

.buy-job-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0.25rem 0 0.5rem;
    color: #2d3748;
}

.buy-job-details p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: #4a5568;
}

.buy-job-details .price {
    color: #2b6cb0;
    font-weight: 500;
    font-size: 1.05rem;
}

.buy-job-details .description {
    margin-top: 0.75rem;
    font-size: 0.92rem;
    color: #4a5568;
}

.purchase-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background-color: #2b6cb0;
    color: #ffffff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.purchase-button:hover {
    background-color: #2c5282;
}

.login-prompt a {
    color: #2b6cb0;
    text-decoration: underline;
}

.pagination {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .buy-job-details {
        padding: 1rem;
    }

    .buy-jobs-grid {
        gap: 1.5rem;
        padding: 1rem;
    }
}





/******************* WALLET DASHBOARD ********/

/************* PRO DASHBOARD *************/

/* General Dashboard Styling */
.themonkpro-referral-dashboard {
    padding: 20px;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #ffffff;
}

/* Heading */
.themonkpro-referral-dashboard h2,
.themonkpro-referral-dashboard h3 {
    margin-bottom: 15px;
    color: #575757;
}

/* Overview Cards */
.referral-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.overview-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 20px;
    flex: 1 1 200px;
    text-align: center;
}

.overview-box h4 {
    margin: 0;
    color: #555;
}

.overview-box p {
    font-size: 1.5em;
    margin: 10px 0 0;
    font-weight: bold;
    color: #CF0000;
}

/* Referral Link Section */
.referral-section {
    margin: 20px 0;
}

.referral-section input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    margin-bottom: 10px;
}

.referral-buttons button {
    margin-right: 10px;
    padding: 10px 16px;
    border: none;
    background-color: #575757;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.referral-buttons button:hover {
    background-color: #CF0000;
}

/* Tables */
table.referral-table,
table.monkpro-summary-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

table th,
table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

 .monkpro-summary-table th {
    background: #00B4F6;
    color: #fff;
    font-weight: 600;
}


.referral-table th {
    background: #00B4F6;
    color: #fff;
    font-weight: 600;
}



table td {
    color: #444;
}

.no-requests {
    text-align: center;
    padding: 20px;
    color: #999;
}

/**************** MOBILE VIEW *************/

/* Responsive Card Layout for Specific Tables on Mobile */
@media (max-width: 768px) {
    table.referral-table,
    table.monkpro-summary-table {
        display: block;
        width: 100%;
        margin: 0 auto;
        max-width: 500px;
    }

    table.referral-table thead,
    table.monkpro-summary-table thead {
        display: none;
    }

    table.referral-table tbody,
    table.monkpro-summary-table tbody {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    table.referral-table tbody tr,
    table.monkpro-summary-table tbody tr {
        display: block;
        width: 100%;
        margin: 10px 0;
        border: 1px solid #ddd;
        border-radius: 10px;
        padding: 12px;
        background: #fff;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    }

    table.referral-table tbody tr td,
    table.monkpro-summary-table tbody tr td {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        flex-basis: 55%;
        text-align: right;
        color: #444;
    }

    table.referral-table tbody tr td:last-child,
    table.monkpro-summary-table tbody tr td:last-child {
        border-bottom: none;
    }

    table.referral-table tbody tr td::before,
    table.monkpro-summary-table tbody tr td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #666;
        flex-basis: 45%;
        flex-shrink: 0;
        white-space: nowrap;
        text-align: left;
    }

    .wallet-main {
        align-items: center;
    }

    .wallet-section {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Withdrawal Form */
.monkpro-withdrawal-form input[type="number"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
}

.monkpro-withdrawal-form button {
    background-color: #00B4F6;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
}

.monkpro-withdrawal-form button:hover {
    background-color: #CF0000;
}

/* Messages */
.monkpro-message {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}

.monkpro-success {
    background-color: #d4f5d1;
    color: #2f8132;
}

.monkpro-error {
    background-color: #fddede;
    color: #b91c1c;
}



/************************************************/

.referral-overview {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.overview-box {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.monkpro-message {
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

.monkpro-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.monkpro-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}


.monkpro-withdrawal-form input[type="number"] {
    padding: 8px;
    margin-right: 10px;
    width: 100px;
}
.monkpro-withdrawal-form button {
    padding: 8px 15px;
    background: #00b4f6;
    color: white;
    border: none;
    border-radius: 5px;
}
.monkpro-withdrawal-form button:hover {
    background: #CF0000;
}

/* admin-wallet.css - Styling for wallet withdrawals page */

.wrap table th,
.wrap table td {
    text-align: left;
    vertical-align: middle;
}

.monkpro-status-approved {
    color: green;
    font-weight: bold;
}

.monkpro-status-rejected {
    color: red;
    font-weight: bold;
}

.monkpro-status-pending {
    color: orange;
    font-weight: bold;
}


.monkpro-message.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}

.monkpro-message.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}


/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4; /* Light background */
    color: #333; /* Text color */
}


/* Multi-step form styles */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Error styles */
.error {
    border-color: red !important;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Button styles */
.button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.button:hover {
    background-color: #005177;
}
/* Style for the Town dropdown */
#town {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    margin-top: 5px;
}

#town:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6);
}

.success {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}


/* Form container */
.form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

/* Filter dropdowns */
.form-container > div {
    flex: 1;
    min-width: 200px;
}

/* Submit button */
.form-container input[type="submit"] {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Mobile view */
@media (max-width: 768px) {
    .form-container > div {
        flex-basis: 100%;
    }
}





/* Wallet Transactions Table */
.wallet-transactions {
    margin-top: 20px;
}

.wallet-transactions h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.wallet-transactions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.wallet-transactions-table th,
.wallet-transactions-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.wallet-transactions-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 14px;
}

.wallet-transactions-table tbody tr:hover {
    background-color: #f5f6f8;
}

.wallet-transactions-table td {
    color: #555;
    font-size: 15px;
}


.submission-filter-form {
    margin-bottom: 20px;
}

.submission-filter-form label {
    margin-right: 10px;
}

.submission-filter-form select {
    padding: 5px;
    margin-right: 10px;
}

.submission-filter-form .button {
    padding: 5px 10px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
}

.submission-filter-form .button:hover {
    background-color: #005177;
}



/* Transaction Type Badge */
.transaction-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
}

.transaction-type.credit {
    background-color: #d5f5e3;
    color: #27ae60;
}

.transaction-type.debit {
    background-color: #f8d7da;
    color: #dc3545;
}

/* No Transactions Message */
.no-transactions {
    text-align: center;
    color: #777;
    font-style: italic;
    margin-top: 20px;
    font-size: 16px;
}


.wallet-balance-checkout {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.wallet-balance-checkout p {
    margin: 0 0 10px;
}

.wallet-balance-checkout a {
    color: #0073aa;
    text-decoration: none;
}

.wallet-balance-checkout a:hover {
    text-decoration: underline;
}




/* Password Strength Indicator */
#password-strength {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
}

.password-strength-0 {
    color: red;
}

.password-strength-1 {
    color: orange;
}

.password-strength-2 {
    color: yellow;
}

.password-strength-3 {
    color: green;
}


/* Basic Admin table styling */
.wp-list-table {
    width: 100%;
    margin-top: 20px;
}

.wp-list-table th, .wp-list-table td {
    padding: 10px;
    text-align: left;
}

.wp-list-table .button {
    margin-right: 5px;
}
/* Wallet Top-Up Page Styles */
.wallet-topup {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wallet-topup h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.wallet-topup p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.topup-options {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
}

.topup-option {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topup-option h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.topup-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

.topup-button:hover {
    background-color: #005177;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .wallet-topup {
        padding: 15px;
    }

    .wallet-topup h2 {
        font-size: 22px;
    }

    .wallet-topup p {
        font-size: 14px;
    }

    .topup-options {
        flex-direction: column;
        gap: 15px;
    }

    .topup-option {
        width: 100%;
        padding: 15px;
    }

    .topup-option h3 {
        font-size: 18px;
    }

    .topup-button {
        font-size: 14px;
        padding: 12px;
    }
}

.bank-transfer-info {
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

.bank-transfer-info a {
    color: #0073aa;
    text-decoration: none;
}

.bank-transfer-info a:hover {
    text-decoration: underline;
}

/* Form styling */
#happyForm {
    max-width: 700px; /* Centering the form */
    margin: 20px auto; /* Auto margin for horizontal centering */
    padding: 20px !important; /* Ensured padding */
    background: #fff; /* White background for the form */
    border-radius: 10px !important; /* More pronounced rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Form section styles */
.form-section {
    margin-bottom: 10px !important; /* Reduced space between sections */
}

/* Label styles */
label {
    display: block;
    margin-bottom: 2px !important; /* Reduced space between label and input */
    font-weight: bold; /* Bold labels */
}

/* Input and Textarea styles */
input[type="text"],
input[type="number"],
textarea {
    width: calc(100% - 12px) !important; /* Full width minus padding */
    padding: 8px !important; /* Padding inside input */
    border: 2px solid #B8B8BD !important; /* Red border */
    border-radius: 8px !important; /* Rounded corners */
    transition: border-color 0.3s; /* Smooth border transition */
    margin-bottom: 10px !important; /* Reduced space between fields */
}

/* Highlight invalid fields */
.invalid {
    border: 2px solid red !important; /* Highlight invalid fields */
}

/* Focus styles */
input:focus,
textarea:focus {
    border-color: #990000 !important; /* Darker red on focus */
    outline: none !important; /* Remove default outline */
}

/* Button styles */
button,
input[type="submit"] {
    background-color: #cc0000 !important; /* Red background */
    color: white !important; /* White text */
    border: none !important; /* No border */
    padding: 10px 15px !important; /* Padding */
    border-radius: 5px !important; /* Rounded corners */
    font-size: 16px !important; /* Font size */
    cursor: pointer !important; /* Pointer cursor */
    transition: background-color 0.3s !important; /* Smooth transition */
    margin-right: 10px !important; /* Space between buttons */
}

/* Button hover effects */
button:hover,
input[type="submit"]:hover {
    background-color: #990000 !important; /* Darker red on hover */
}

/* Success and error messages */
.happy-success {
    color: #28a745; /* Green for success messages */
    font-weight: bold; /* Bold text */
    margin-top: 15px; /* Space above the message */
}

.happy-error {
    color: #dc3545; /* Red for error messages */
    font-weight: bold; /* Bold text */
    margin-top: 15px; /* Space above the message */
}

/* Center the form and style the filter dropdown */
.form-container {
    margin-bottom: 20px;
    text-align: center;
}

/* Hide "View Cart" link in the mini cart */
.widget_shopping_cart .buttons a:first-child {
    display: none;
}

/* Hide the cart icon in the header */
.site-header-cart {
    display: none;
}

/* Style the login/register message */
.login-register-message {
    background-color: #FEE4E4; /* Light red background color */
    border: 1px solid #d1d9e6;
    padding: 10px 10px; /* Add padding for spacing */
    margin: 15px auto; /* Center the box horizontally */
    max-width: 500px; /* Set a maximum width for the box */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    text-align: center;
    font-size: 16px;
    color: #333;
    font-family: "Arial Black", Gadget, sans-serif;
    font-weight: bold;
    border-radius: 5px; /* Optional: rounded corners */
}



.town-inline-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.town-option {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f4f4f4;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}


.location-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.location-checkboxes label {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f5f5f5;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}












/* Container wrapper to hold both boxes inline */
.monkpro-info-container {
    display: flex;
    gap: 20px;
    justify-content: center; /* center the boxes horizontally */
    flex-wrap: wrap; /* wrap on small screens */
}

/* Each info box */
.monkpro-info-box {
    display: flex;
    align-items: center; /* vertical center icon and text */
    gap: 12px;
    padding: 16px;
    background: #e0f7fa;
    border-left: 5px solid #00B4F6;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    min-width: 280px; /* keep some min width */
    flex: 1 1 300px; /* flexible grow/shrink */
}

.monkpro-info-box i {
    color: #00B4F6;
    font-size: 20px;
    margin-top: 0; /* center vertically */
}

.monkpro-info-box span {
    color: #0073aa;
    font-weight: 600;
}

.monkpro-info-box a {
    color: #0073aa;
    text-decoration: underline;
}

#subcategory-filter-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    max-width: 400px;
    margin: 0 auto 40px auto; /* centers form horizontally */
    text-align: center;       /* centers label, select and button */
}




#subcategory {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    font-size: 15px;
}

#subcategory-filter-form button {
    background-color: #00B4F6;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;

    display: inline-block; /* keep inline so text-align center works */
    margin-top: 10px;      /* spacing above button */
}


#subcategory-filter-form button:hover {
    background-color: #09CB09;
}

/* Responsive: reduce font-size on smaller screens */
@media (max-width: 600px) {
    .monkpro-info-box {
        font-size: 14px;
        padding: 12px;
    }

    .monkpro-info-box i {
        font-size: 18px;
    }
}


.pro-dashboard .result-table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}
.dashboard-content {
    width: 100%;
}


/****************************RESULTS TABLE*******/
/* === Container and layout === */
.table-row.desktop {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
    width: 100%;       /* Full width */
    margin: 0;         /* No auto margin */
    padding: 0 10px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.left-column {
    flex: 0 0 380px;
    max-width: 380px;
    min-width: 380px;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 2px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.right-column {
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px;
    box-sizing: border-box;
}


/* === Individual result card (.result-table) === */
.result-table {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 33%;
    padding: 15px;
    background-color: #fff;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: default;
}

.result-table:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* === Table inside result block === */
.result-table table {
    width: 100%;
    table-layout: fixed; /* Important for consistent column widths */
    border-collapse: collapse;
}

.result-table th,
.result-table td {
    padding: 6px 8px;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    font-size: 15px;
    text-align: left;
}

.result-table th {
    width: 120px; /* Set a fixed width for label cells, smaller than left column */
    background-color: #EAEAEA;
    font-weight: 700;
    color: #333;
}

.result-table td {
    width: auto; /* Let the right cell fill remaining */
    padding-left: 10px;
}

/* === Action buttons === */
.result-table .button {
    display: inline-block;
    background-color: #CC0000 !important;
    color: white !important;
    padding: 6px 10px;
    border-radius: 23px;
    text-decoration: none;
    cursor: pointer;
    align-self: flex-end;
    transition: background-color 0.3s ease-in-out;
    font-size: 14px;
    border: none;
    max-width: 100%;
    text-align: center;
}

.result-table .button:hover {
    background-color: #990000 !important;
}

/* === Purchased by line === */
.result-table .purchased-by {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-top: 5px;
    text-align: right;
}

/* === Table container === */
.table-container {
    width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    margin: 10px auto;
}

/* === Mobile layout adjustments === */
@media (max-width: 767px) {
    .table-row.desktop {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        max-width: 100%;
        width: 100%;
        padding: 10px 0;
    }

    .result-table {
        width: 100%;
        margin: 0 auto 15px auto;
    }

    .result-table .button {
        padding: 5px 10px;
        font-size: 14px;
    }
}

/* === Pagination container === */
.pagination-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.pagination-left .button,
.pagination-right .button {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #CC0000;
    color: #fff;
    border: none;
    border-radius: 23px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.pagination-left .button:hover,
.pagination-right .button:hover {
    background-color: #990000;
}

/* Center pagination buttons on mobile */
@media (max-width: 767px) {
    .pagination-left,
    .pagination-right {
        flex: 1;
        text-align: center;
    }
}

/*********************** BOUGHT JOBS *************/

/* === Grid Container === */
.monk-job-wrapper {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 10px auto;
}

.monk-job-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  justify-content: flex-start;
}

/* === Job Card === */
.monk-job-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  max-width: calc(33.333% - 20px);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.monk-job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* === Table === */
.monk-job-table {
  width: 100%;
  border-collapse: collapse;
}

.monk-job-table td {
  padding: 8px;
  font-size: 15px;
  vertical-align: top;
  word-break: break-word;
}

.monk-job-table td:first-child {
  font-weight: bold;
  background: #f0f0f0;
  width: 120px;
}

/* === Links & Buttons === */
.monk-contact-link {
  color: #CC0000;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}

.monk-contact-link:hover {
  color: #990000;
}

.monk-btn-link {
  margin-top: 10px;
  background: #CC0000;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-align: center;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}

.monk-btn-link:hover {
  background: #990000;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .monk-job-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 767px) {
  .monk-job-grid {
    flex-direction: column;
  }

  .monk-job-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .monk-btn-link {
    width: 100%;
  }

  .monk-contact-link {
    display: block;
  }
}


/* General wrapper */
.wrap {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-family: 'Arial', sans-serif;
}

/* Heading */
.wrap h1 {
    text-align: center;
    font-size: 28px;
    color: #333333;
    margin-bottom: 25px;
}

.wrap h2 {
    text-align: center;
    font-size: 22px;
    color: #555555;
    margin-bottom: 20px;
}

/* Centering forms */
.wrap form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.wrap form input[type="text"] {
    padding: 8px 12px;
    font-size: 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
    min-width: 200px;
}

.wrap form button,
.wrap form a.button {
    padding: 8px 16px;
    background-color: #00B4F6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s ease;
    text-decoration: none;
}

.wrap form button:hover,
.wrap form a.button:hover {
    background-color: #09CB09;
    color: #fff;
}

/* Table styling */
.referral-users-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.referral-users-table th,
.referral-users-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.referral-users-table th {
    background-color: #00B4F6;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.referral-users-table tbody tr:nth-child(even) {
    background-color: #f7f7f7;
}

.referral-users-table tbody tr:hover {
    background-color: #e6f7ff;
}

/* Action buttons inside table */
.referral-users-table td form button {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    background-color: #00B4F6;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}

.referral-users-table td form button:hover {
    background-color: #09CB09;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .wrap {
        padding: 15px;
    }
    
    .referral-users-table th,
    .referral-users-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .wrap form {
        flex-direction: column;
    }

    .wrap form input[type="text"] {
        min-width: 100%;
    }

    .wrap form button,
    .wrap form a.button {
        width: 100%;
        text-align: center;
    }
}
