.wwap-payment-details {
    border-radius: 20px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    padding: 30px;
    margin: 20px;
    color: #333;
    text-align: center;
}

.wwap-payment-details #payment_method,
.wwap-payment-details #bank_details_text,
.wwap-payment-details #paypal_id,
.wwap-payment-details #upi_id {
    border: 2px solid #d7e1ec;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
}

.wwap-payment-method {
    margin-bottom: 15px;
}

.wwap-payment-update input[type="submit"] {
    background-color: #0071a1;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.wwap-affiliate-payment-details-notice {
    background-color: #E0B252;
    color: white;
    margin-bottom: 15px;
    padding: 10px 15px;
    border-radius: 10px;
}

.wwap-refund-request-container {
    background-color: #fff;
    width: 100%;
}

/* Styling for the refund reason text area */
.wwap-refund-reason-comment-box {
    margin-bottom: 20px;
}

.wwap-refund-reason-comment-box label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.wwap-refund-reason-comment-box textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    resize: vertical;
}

/* Styling for the image and video upload sections */
.wwap-image-upload-section,
.wwap-video-upload-section {
    margin-bottom: 20px;
}

.wwap-image-upload-section label,
.wwap-video-upload-section label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.wwap-image-upload-section input[type="file"],
.wwap-video-upload-section input[type="file"] {
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wwap-image-upload-section input[type="file"]:hover,
.wwap-video-upload-section input[type="file"]:hover {
    background-color: #f0f0f0;
}

.wwap-image-upload-section input[type="file"]:focus,
.wwap-video-upload-section input[type="file"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.wwap-refund-reason-images-video-container {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Table styling */
.wwap-order-refund-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.wwap-order-refund-table th,
.wwap-order-refund-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.wwap-order-refund-table th {
    background-color: #f4f4f4;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    color: #555;
}

.wwap-order-refund-table td {
    vertical-align: middle;
    color: #333;
}

/* Specific column styling */
.wwap-order-refund-product-image img {
    max-width: 50px;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wwap-order-refund-product-name {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    text-align: left !important;
    text-transform: capitalize;
}

.wwap-order-refund-product-cost,
.wwap-order-refund-product-total,
.wwap-product-refundable-total {
    color: #007bff;
    font-weight: 600;
    font-size: 14px;
}

.wwap-order-refund-product-quantity input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Footer total styling */
.wwap-order-refund-table tfoot th {
    font-size: 16px;
    font-weight: bold;
    background-color: #f7f7f7;
    padding: 20px;
    text-align: center;
    color: #333;
}

.wwap-order-refund-table tfoot td {
    padding: 20px;
    font-size: 16px;
    color: #333;
    text-align: right;
}

/* Hover and focus effects */
.wwap-order-refund-table tr:hover {
    background-color: #f9f9f9;
}

.wwap-order-refund-product-quantity input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.wwap-request-refund-btn-container {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Preview container for images and videos */
.wwap-refund-preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.wwap-refund-preview-item {
    position: relative;
    margin-right: 10px;
    margin-bottom: 10px;
}

#wwap-refund-video-preview-container .wwap-refund-preview-item {
    height: 110px;
    width: 80px;
}

.wwap-refund-preview-item video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.wwap-preview-refund-image, .pwwap-preview-refund-video {
    max-width: 100px;
    max-height: 100px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wwap-refund-remove-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    padding: 0 5px;
    font-size: 12px;
    line-height: 18px;
}

.wwap-request-refund-btn-container #wwap-request-refund-btn,
.wwap-cancel-refund-btn-container #wwap-cancel-refund-btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wwap-cancel-refund-btn-container {
    margin-bottom: 20px;
}

.wwap-refund-request-reason-images-video-container {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.wwap-refund-reason-container {
    flex: 1;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.wwap-refund-reason-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.wwap-refund-reason {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.wwap-refund-reason-images-videos-container {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wwap-refund-reason-images-container,
.wwap-refund-reason-videos-container {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.wwap-refund-images-title,
.wwap-refund-videos-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.wwap-refund-images,
.wwap-refund-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wwap-refund-videos {
    height: 110px;
    width: 80px;
    object-fit: cover;
}

.wwap-refund-videos {
    height: 110px;
    width: 80px;
}

.wwap-refund-images img {
    max-height: 85px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wwap-refund-videos video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wwap-pay-refund-in-wallet-or-same-payment-mode {
    margin-top: 15px;
}

.wwap-refund-rejection-reason {
    width: 100%;
    margin-bottom: 20px;
}

.wwap-rejection-reason-title {
    margin-bottom: 10px;
    color: #000;
    font-weight: bold;
}

.wwap-account-table input[type="checkbox"].wwap-select-affiliate-referral {
    width: 24px;
    height: 24px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f0f0f0;
    border: 2px solid #d1d1d1;
    border-radius: 4px;
    outline: none;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.wwap-account-table input[type="checkbox"].wwap-select-affiliate-referral:checked {
    background-color: #4CAF50;
    border: 2px solid #4CAF50;
}

.wwap-account-table input[type="checkbox"].wwap-select-affiliate-referral:checked::before {
    content: '✔';
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

#affiliate-to-wallet-transfer-form .wwap-transfer-affiliate-referrals-btn {
    position: absolute;
    top: 65px;
    right: 20px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    min-height: 32px;
    border-radius: 8px;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
}

.wwap-account-table, #generated_links_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
    color: #333;
    background-color: #F0F0F3;
    box-shadow: -8px -8px 24px #FFFFFF, 8px 8px 24px rgba(174, 174, 192, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.wwap-account-table th,
#generated_links_table th {
    border-bottom: 1px solid #fff;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
}

.wwap-account-table td,
#generated_links_table td {
    border-bottom: none;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
}

.wwap-account-table th {
    font-weight: bold;
    text-transform: uppercase;
}

.wwap-account-table tbody tr {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.wwap-account-table tbody tr:hover {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.wwap-account-table .status, .wwap-account-table .payment-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    display: inline-block;
}

/* Specific status colors */
.wwap-account-table .status.pending,
.wwap-account-table .status.just-visit {
    background-color: #e3e3e3;
    color: #414552;
}

.wwap-account-table .status.approved,
.wwap-account-table .status.converted {
    background-color: #d7f7c2;
    color: #006908;
}

.wwap-account-table .status.rejected {
    background-color: #fbd0d0;
    color: #ff0000;
}

.wwap-account-table .payment-status.unpaid {
    background-color: #cff5f6;
    color: #0055bc;
}

.wwap-account-table .payment-status.paid {
    background-color: #d7f7c2;
    color: #006908;
}

.wwap-account-table .payment-status.declined {
    background-color: #fbd0d0;
    color: #ff0000;
}

.wwap-referrals-summary,
.wwap-visits-summary,
.wwap-reports-summary,
.wwap-dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wwap-referrals-summary-item,
.wwap-visits-summary-item,
.wwap-reports-summary-item,
.wwap-dashboard-summary-item {
    flex: 1;
    padding: 20px;
    margin: 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    min-width: 250px;
    background-color: #F0F0F3;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

.wwap-affiliate-referral-approved-amount,
.wwap-affiliate-referral-pending-amount,
.wwap-affiliate-referrals-total,
.wwap-affiliate-link-clicks-count,
.wwap-affiliate-link-conversion-count,
.wwap-affiliate-link-conversion-percentage,
.wwap-affiliate-referral-approved-count,
.wwap-affiliate-referral-withdraw-amount,
.wwap-affiliate-referrals-balance-amount,
.wwap-affiliate-total-referral-count,
.wwap-affiliate-paid-referral-count,
.wwap-affiliate-unpaid-referral-count,
.wwap-affiliate-payout-count,
.wwap-affiliate-earnings-amount {
    font-size: 24px;
    margin-bottom: 10px;
}

.wwap-dashboard-description {
    font-size: 14px;
}

.wwap-dashboard-description-two {
    font-size: 13px;
    font-weight: 400;
}

.wwap-wallet-topup {
    border-radius: 20px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    padding: 30px;
    margin: 20px;
    color: #333;
    text-align: center;
}

.wwap-wallet-summary {
    background-color: #f6f9fc;
    padding: 20px;
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.wwap-total-balance .wallet-balance {
    font-size: 28px;
    font-weight: 600;
    color: #1a54e7;
    margin-bottom: 5px;
}

.wwap-total-balance .wallet-balance-text {
    font-size: 16px;
    color: #7a7f9a;
    margin-bottom: 15px;
}

.wwap-detailed-balance {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wwap-detailed-balance > div {
    background-color: #e8effe;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.wwap-wallet-balance .wallet-amount,
.wwap-affiliate-earnings .affiliate-earnings {
    font-size: 22px;
    font-weight: 600;
    color: #1a54e7;
}

.wwap-wallet-balance .wallet-amount-text,
.wwap-affiliate-earnings .affiliate-earnings-text {
    font-size: 14px;
    color: #7a7f9a;
}

.wallet-topup-input-submit-button {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.wwap-wallet-topup input[type="number"] {
    border: 2px solid #d7e1ec;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    color: #333;
    min-height: 45px;
    background-color: #ffffff;
}

.wwap-wallet-topup input[type="number"]:focus {
    border-color: #0071a1;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.wwap-wallet-topup input[type="submit"] {
    background-color: #0071a1;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wwap-wallet-topup input[type="submit"]:hover {
    background-color: #0056b3;
}

.wwap-wallet-topup input::placeholder {
    color: #9aa5b1;
}

.wwap-wallet-withdrawal-container {
        padding: 20px;
        border-radius: 12px;
        box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
        margin: 20px auto;
    }

    .wwap-wallet-withdrawal-container h3 {
        text-align: center;
        color: #333;
        margin-bottom: 20px;
    }

    .wwap-wallet-withdrawal-form-content {
        display: flex;
        gap: 10px;
    }
    
    .wwap-wallet-withdrawal-form-input {
        width: 80%;
    }
    
    .wwap-wallet-minimum-withdrawal-limit-info {
        text-align: center;
    }

    .wwap-wallet-withdrawal-container input[type="number"] {
        padding: 10px;
        border: 2px solid #d7e1ec;
        border-radius: 12px;
        font-size: 16px;
        background-color: #fff;
    }

    .wwap-wallet-withdrawal-container input[type="submit"] {
        padding: 10px 20px;
        background-color: #0071a1;
        border: none;
        border-radius: 12px;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .wwap-wallet-withdrawal-container input[type="submit"]:hover {
        background-color: #005f8a;
    }

    .wwap-wallet-withdrawal-container p {
        text-align: center;
        font-style: italic;
        color: #666;
        font-size: 14px;
        margin: 10px 0;
    }
    
    .wwap-wallet-transfer {
    border-radius: 20px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    margin: 40px auto;
    padding: 30px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    text-align: center;
}

#wallet-transfer-form {
    display: flex;
    gap: 10px;
}

.wwap-wallet-transfer input[type="number"],
.wwap-wallet-transfer input[type="email"] {
    padding: 12px;
    border: 2px solid #d7e1ec;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
    text-align: center;
}

.wwap-wallet-transfer input[type="number"]:focus,
.wwap-wallet-transfer input[type="email"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.5);
}

.wwap-wallet-transfer input[type="submit"] {
    padding: 12px;
    background-color: #0071a1;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wwap-wallet-transfer input[type="submit"]:hover {
    background-color: #0056b3;
}

.wwap-wallet-transfer input::placeholder {
    color: #9aa5b1;
}

.wwap-wallet-form input[type="email"],
.wwap-wallet-form input[type="number"] {
    width: calc(100% - 30px); /* Adjust width to fit padding */
    margin-bottom: 20px; /* Space between inputs */
    border: 2px solid #d7e1ec;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    color: #333;
    background-color: #ffffff;
}

.wwap-wallet-form input[type="email"]:focus,
.wwap-wallet-form input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.wwap-wallet-form input[type="submit"] {
    width: 100%; /* Make submit button full width */
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 0; /* Adjust padding for better visual */
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wwap-wallet-form input[type="submit"]:hover {
    background-color: #0056b3;
}

.wwap-wallet-form input::placeholder {
    color: #9aa5b1;
}

    /* Base styles for the table */
.wwap-wallet-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em auto;
}

/* Header styles */
.wwap-wallet-table thead {
    background-color: #f7f9fc;
    color: #333;
}

.wwap-wallet-table th {
    text-align: left;
    padding: 15px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

/* Body styles */
.wwap-wallet-table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

.wwap-wallet-table td {
    padding: 15px;
    color: #495057;
    font-weight: 400;
}

/* Hover effect for rows */
.wwap-wallet-table tbody tr:hover {
    background-color: #eff2f7;
}

/* Status Pill Styles */
.wwap-wallet-table .status {
    padding: 0.25em 0.75em;
    border-radius: 1em;
    font-size: 0.875em;
    font-weight: 600;
    text-transform: capitalize;
}

/* Dynamic color for status pills */
.status-approved {
    color: #38c172;
    background-color: #e6f8ec;
}

.status-rejected {
    color: #e3342f;
    background-color: #fcebea;
}

/* Styles for the wallet tabs */
.woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 1px solid #ddd;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul li {
    margin: 0;
    padding: 0;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-bottom: none;
    background: #f7f7f7;
    color: #333;
    margin-right: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.woocommerce-myaccount-wallet-content .wwap-wallet-tabs ul li.active a {
    background: #fff;
    border-bottom: 1px solid #fff;
}

.wwap-affiliate-banner-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; 
}

.wwap-affiliate-top-banner-image-container {
    position: relative;
    z-index: 1;
}

.wwap-affiliate-profile-image-container {
    margin-top: -60px;
    z-index: 999;
}

.wwap-affiliate-profile-image {
    border: 5px solid #fff;
}

.wwap-affiliate-camera-icon {
    position: absolute;
    bottom: 20px;
    right: 30px;
    z-index: 2;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wwap-affiliate-camera-icon::before {
    content: '\f030'; /* FontAwesome camera icon */
    font-family: 'Font Awesome 5 Free'; /* Adjust if using a different version */
    font-weight: 900;
    color: #fff; /* Camera icon color */
    font-size: 20px; /* Adjust as needed */
}

/* Tracking details styles */
.wwap-affiliate-tracking-details-container {
    border-radius: 8px;
    margin-bottom: 30px;
    align-items: center;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

.wwap-tracking-details,
.wwap-generate-affiliate-form-options {
    padding: 15px;
}

.wwap-affiliate-tracking-code-container,
.wwap-default-affiliate-link {
    margin-bottom: 10px;
}

.wwap-profile-title-container {
    border-bottom: 1px solid #fff;
    margin-bottom: 15px;
    position: relative;
}

.wwap-profile-title {
    position: relative;
    color: #2b425b;
    font-weight: 600;
    font-size: 16px;
    background-color: #F0F0F3;
    padding: 0 10px;
    margin-left: 20px;
    bottom: -15px;
}

.wwap-affiliate-tracking-code-text,
.wwap-default-affiliate-link-text {
    display: block;
    color: #666;
    margin-bottom: 5px;
}

.wwap-affiliate-tracking-code,
.wwap-default-affiliate-link a {
    display: inline-block;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 4px;
    color: #333;
    box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.5), inset 10px 10px 15px rgba(70, 70, 70, 0.12);
    text-decoration: none;
    transition: all 0.3s ease;
}

.wwap-tacking-code-info {
    color: #999;
    font-size: 14px;
}

.wwap-affiliate-qr-code-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wwap-affiliate-qr-code-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a2538;
}

.wwap-affiliate-qr-code {
    margin-top: 10px;
    margin-bottom: 23px;
    border-radius: 8px;
    padding: 10px;
    width: fit-content;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

.wwap-affiliate-qr-code img {
    max-height: 115px;
    border-radius: 4px;
}

.wwap-affiliate-qr-code-download-btn {
    border-radius: 8px;
    color: #1a2538;
    padding: 10px 20px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

.wwap-affiliate-link-generator-container {
    border-radius: 8px;
    color: #1a2538;
    margin-bottom: 10px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

#link_generator_form label {
    font-weight: bold;
    color: #555;
}

#link_generator_form select,
#link_generator_form input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.5), inset 10px 10px 15px rgba(70, 70, 70, 0.12);
    border-radius: 8px;
}

#generate_link_button {
    padding: 10px 20px;
    border: none;
    text-transform: capitalize;
    color: #1a2538;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    transition: background-color 0.3s ease;
}

.affiliate-link-action-btn {
    display: flex;
    gap: 7px;
}

.wwap-affiliate-generated-link-container .copy_affiliate_link_button {
    background-color: #337ab7;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 12px;
    text-align: center;
    line-height: 1.5;
    min-height: 30px;
}

.wwap-affiliate-generated-link-container .remove_affiliate_link_button {
    background-color: #d9534f;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 12px; /* Adjust the font size if necessary */
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    display: inline-block; /* To allow proper spacing and alignment */
    min-height: 30px;
}

.wwap-affiliate-generated-link-container .copy_affiliate_link_button:hover,
.wwap-affiliate-generated-link-container .remove_affiliate_link_button:hover {
    background-color: #286090;
    color: #f5f5f5;
}

#wwap-affiliate-update-profile-form {
  max-width: 500px;
}

/* Style for input fields */
#wwap-affiliate-update-profile-form input[type="text"],
#wwap-affiliate-update-profile-form input[type="email"],
#wwap-affiliate-update-profile-form input[type="tel"],
#wwap-affiliate-update-profile-form select {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  display: inline-block;
  border: none;
  box-shadow: inset -10px -10px 15px rgba(255, 255, 255, 0.5), inset 10px 10px 15px rgba(70, 70, 70, 0.12);
  border-radius: 8px;
  box-sizing: border-box;
}

.upload-profile-image {
    margin-top: 10px;
}

/* Style for the submit button */
#wwap-affiliate-update-profile-form button {
  width: 100%;
  margin-top: 20px;
  border: none;
  box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
  border-radius: 8px;
  cursor: pointer;
}

.wwap-affiliate-dashboard {
    background-color: #F0F0F3;
}

.wwap-affiliate-dashboard-tabs {
    list-style-type: none;
    padding: 0;
    margin-left: 0;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
}

.wwap-affiliate-dashboard-has-submenu>a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.wwap-affiliate-dashboard-has-submenu:hover .wwap-affiliate-dashboard-submenu {
    display: block;
}

.wwap-affiliate-dashboard-has-submenu li {
    float: none !important;
}

.wwap-affiliate-dashboard-submenu {
    position: absolute;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 999;
    background-color: #F0F0F3;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.wwap-affiliate-dashboard-submenu a {
    text-decoration: none;
    color: #333;
    padding: 12px 20px;
    transition: background-color 0.3s ease;
}

.wwap-affiliate-dashboard-tabs li {
    float: left;
    margin-bottom: 0;
}

.wwap-affiliate-dashboard-tabs a {
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: background-color 0.3s ease;
}

.wwap-affiliate-dashboard-tabs a:hover,
.wwap-affiliate-dashboard-tabs a.active {
    background-color: #e2e2e2;
    color: #333;
}

.wwap-affiliate-profile-img-details {
    display: flex;
    gap: 12px;
}

.wwap-affiliate-member-name-medal-container {
    display: flex;
    gap: 5px;
    align-items: center;
}

.wwap-affiliate-member-achievement-medal img {
    width: 30px;
}

.wwap-affiliate-member-name {
    font-size: 26px;
    font-weight: 600;
    color: #111;
    text-transform: capitalize;
}

.wwap-affiliate-country-flag-container {
    margin-right: 5px;
}

.wwap-affiliate-country-flag {
    border-radius: 50% !important;
    height: 20px;
    width: 20px;
}

.wwap-affiliate-member-since {
    color: #333;
    font-size: 15px;
    margin-bottom: 10px;
}

.wwap-affiliate-rank-info {
    width: fit-content;
}

.wwap-affiliate-rank-name {
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    letter-spacing: 1px;
    border-radius: 4px;
}

.wwap-referrals-earnings-container {
    display: flex;
    gap: 25px;
    margin-bottom: 10px;
    text-align: center;
}

.wwap-affiliate-total-referrals-container,
.wwap-affiliate-total-earnings-container {
    padding: 10px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    border-radius: 8px;
}

.wwap-affiliate-total-referrals-title, .wwap-affiliate-total-earnings-title {
    font-size: 15px;
}

.wwap-affiliate-total-referrals, .wwap-affiliate-total-earnings {
    font-size: 25px;
    font-weight: 600;
}

.wwap-affiliate-next-rank-name {
    font-weight: 600;
}

.wwap-affiliate-next-rank-progress-bar-container {
    position: relative;
    background-color: #badfaf;
    height: 10px;
    border-radius: 10px;
}

.wwap-affiliate-next-rank-progress-bar {
    background-color: #75c37d;
    height: 100%;
    border-radius: 10px;
    position: relative;
}

.wwap-affiliate-next-rank-progress-bar::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wwap-affiliate-next-rank-progress-bar:hover::after {
    opacity: 1;
}

#affiliateLoginForm, #affiliateRegistrationForm {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.wwap-affiliate-login-form-container, .wwap-affiliate-register-form-container {
    margin-bottom: 15px;
}

#affiliateLoginForm input, #affiliateRegistrationForm input,
#affiliateRegistrationForm select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#affiliateLoginForm button, #affiliateRegistrationForm button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

#affiliateLoginForm button:hover, #affiliateRegistrationForm button:hover {
    background-color: #0056b3;
}

#affiliateLoginForm p, #affiliateRegistrationForm p {
    text-align: center;
}

#affiliateLoginForm a, #affiliateRegistrationForm a {
    color: #007bff;
    text-decoration: none;
}

#affiliateLoginForm a:hover, #affiliateRegistrationForm a:hover {
    text-decoration: underline;
}

.affiliate-link-qr-code-container img {
    height: 80px;
    width: 80px;
}

.affiliate-link-qr-code-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.download-affiliate-link-qr-code {
    border-radius: 5px;
    color: #1a2538;
    padding: 5px 10px;
    box-shadow: -8px -8px 24px 0 #FFFFFF, 8px 8px 24px 0 rgba(174, 174, 192, 0.4);
    text-align: center;
}

@media (min-width: 768px) {
    .wwap-affiliate-tracking-details-container {
        display: flex;
        justify-content: space-between;
    }
    
    .tracking-details-content {
        width: 75%;
        border-right: 1px solid #fff;
    }
    
    .wwap-affiliate-qr-code-content {
        flex: 1;
    }
    
    .wwap-affiliate-details-container {
        display: flex;
        justify-content: space-between;
        margin: 15px 0px 20px;
        padding: 0 20px;
    }
    .wwap-affiliate-profile-image img {
        height: 150px;
        width: 150px;
        background-color: #fff;
    }
    .wwap-affiliate-banner-image-content {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .wwap-affiliate-banner-image-content {
        height: 150px;
    }
    .wwap-affiliate-profile-image img {
        width: 80px;
        background-color: #fff;
    }
    .wwap-affiliate-details-container {
        margin: 15px 0px 20px;
        padding: 0 15px;
    }
    .wwap-affiliate-profile-image-container {
        margin-top: -40px;
        height: fit-content;
    }
    
    .wwap-affiliate-member-name {
        font-size: 18px;
    }
    
    .wwap-affiliate-member-since {
        font-size: 13px;
    }
    
    .wwap-affiliate-country-flag {
        height: 15px;
        width: 15px;
    }
    
    .wwap-wallet-withdrawal-form-content,
    .wallet-topup-input-submit-button,
    #wallet-transfer-form {
        flex-direction: column;
        align-items: center;
    }
    
    .wwap-wallet-withdrawal-form-input {
        width: 100%;
    }
}