.wrp-my-points {
    background: #f1f2f6;
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    font-family: inherit;
    color: #2d3436;
    border: 1px solid #dfe6e9;
}

.wrp-my-points strong {
    color: #6c5ce7;
    font-weight: bold;
}

/* Toast Notifications */
.wrp-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 16px;
}

.wrp-toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        bottom: 0;
        opacity: 0;
    }

    to {
        bottom: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        bottom: 30px;
        opacity: 1;
    }

    to {
        bottom: 0;
        opacity: 0;
    }
}

/* My Account Dashboard */
.wrp-my-account-dashboard {
    margin-top: 20px;
}

.wrp-dashboard-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.wrp-balance-card,
.wrp-rank-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    text-align: center;
    border: 1px solid #eee;
}

.wrp-points-big {
    font-size: 36px;
    font-weight: bold;
    color: #6c5ce7;
    margin-top: 10px;
}

.wrp-points-big span {
    font-size: 16px;
    color: #b2bec3;
}

.wrp-rank-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background: #dfe6e9;
    color: #2d3436;
    font-weight: bold;
    margin-top: 10px;
    text-transform: uppercase;
}

.wrp-rank-gold {
    background: #ffeaa7;
    color: #d35400;
}

.wrp-rank-silver {
    background: #dfe6e9;
    color: #2d3436;
}

.wrp-rank-bronze {
    background: #fab1a0;
    color: #c0392b;
}

.wrp-referral-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px dashed #6c5ce7;
}

.wrp-copy-link {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.wrp-copy-link input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.wrp-history-section table {
    width: 100%;
    border-collapse: collapse;
}

.wrp-history-section th,
.wrp-history-section td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.wrp-positive {
    color: #00b894;
    font-weight: bold;
}

.wrp-negative {
    color: #d63031;
    font-weight: bold;
}

/* Guest Notification Bar - Premium Redesign */
.wrp-guest-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    color: #fff;
    padding: 15px 20px;
    z-index: 99999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: wrpSlideUp 0.5s ease-out forwards;
}

@keyframes wrpSlideUp {
    from {
        bottom: -100px;
        opacity: 0;
    }

    to {
        bottom: 20px;
        opacity: 1;
    }
}

.wrp-notification-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.wrp-notification-icon {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    /* Gold color for the gift icon */
}

.wrp-notification-message {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wrp-notification-title {
    font-weight: bold;
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 2px;
}

.wrp-notification-text {
    font-size: 13px;
    color: #dfe6e9;
    line-height: 1.3;
}

.wrp-notification-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wrp-notification-button {
    background: linear-gradient(to right, #6c5ce7, #a29bfe);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.wrp-notification-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
    color: #fff;
}

.wrp-dismiss-button {
    background: none;
    border: none;
    color: #b2bec3;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrp-dismiss-button:hover {
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wrp-guest-notification {
        width: 95%;
        bottom: 10px;
        padding: 12px;
        flex-direction: column;
    }

    .wrp-notification-content {
        flex-wrap: wrap;
    }

    .wrp-notification-icon {
        display: none;
        /* Hide icon on very small screens to save space */
    }

    .wrp-notification-message {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }

    .wrp-notification-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Remove Discount Button */
.wrp-remove-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 24px;
    line-height: 1;
    font-weight: bold;
    color: #a00 !important;
    text-decoration: none !important;
    margin-left: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
    vertical-align: middle;
    background: rgba(170, 0, 0, 0.1);
    border: 1px solid #a00;
}

.wrp-remove-discount:hover {
    background-color: #a00;
    color: #fff !important;
    transform: scale(1.2);
    border-color: #a00;
}

.wrp-remove-discount:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(170, 0, 0, 0.3);
}

.wrp-remove-discount:active {
    transform: scale(1.1);
}