/* BulkBoost Frontend Styles */

/* Pricing Table */
.bulkboost-pricing-table {
    margin: 2em 0;
    padding: 1.5em;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.bulkboost-pricing-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4481eb, #04befe);
}

.bulkboost-pricing-table h3 {
    margin-top: 0;
    margin-bottom: 1.2em;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.bulkboost-pricing-table h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #04befe;
}

/* Intro Section */
.bulkboost-intro {
    text-align: center;
    margin-bottom: 1.5em;
    padding: 0 1em;
}

.bulkboost-intro p {
    color: #34495e;
    font-size: 1.05em;
    line-height: 1.5;
    margin: 0;
}

/* Pricing Table */
.bulkboost-tiers {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.03);
    table-layout: fixed;
}

.bulkboost-tiers th,
.bulkboost-tiers td {
    padding: 14px 18px;
    text-align: left;
    border: none;
    transition: all 0.3s ease;
}

.bulkboost-tiers th:nth-child(1),
.bulkboost-tiers td:nth-child(1) {
    width: 20%;
}

.bulkboost-tiers th:nth-child(2),
.bulkboost-tiers td:nth-child(2) {
    width: 25%;
}

.bulkboost-tiers th:nth-child(3),
.bulkboost-tiers td:nth-child(3) {
    width: 30%;
}

.bulkboost-tiers th:nth-child(4),
.bulkboost-tiers td:nth-child(4) {
    width: 25%;
}

.bulkboost-tiers th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bulkboost-tiers tr {
    border-bottom: 1px solid #f0f4f8;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.bulkboost-tiers tr:last-child {
    border-bottom: none;
}

.bulkboost-tiers tr:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.bulkboost-tiers tr.current-tier {
    background-color: rgba(46, 204, 113, 0.08);
    position: relative;
    border-left: 4px solid #2ecc71;
}

.bulkboost-tiers tr.current-tier::before {
    display: none;
}

.bulkboost-tiers tr.current-tier td:first-child,
.bulkboost-tiers tr.future-tier td:first-child,
.bulkboost-tiers tr.passed-tier td:first-child {
    padding-left: 18px;
}

.bulkboost-tiers tr.current-tier td {
    font-weight: 600;
}

.bulkboost-tiers tr.current-tier.highlight-current {
    background-color: rgba(46, 204, 113, 0.15);
}

.bulkboost-tiers tr.passed-tier {
    background-color: rgba(52, 152, 219, 0.05);
}

.bulkboost-tiers tr.future-tier {
    opacity: 0.85;
}

.bulkboost-tiers td:nth-child(2) {
    font-weight: 600;
    color: #3498db;
    font-size: 1.1em;
}

.bulkboost-tiers .original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.9em;
    margin-right: 8px;
    font-weight: normal;
    display: inline-block;
}

/* Savings Column */
.bulkboost-tiers td:nth-child(3) {
    color: #27ae60;
    font-weight: 500;
}

.bulkboost-tiers .savings-amount {
    position: relative;
    display: inline-block;
}

.bulkboost-tiers .savings-note {
    font-size: 0.8em;
    color: #7f8c8d;
    font-weight: normal;
    margin-top: 3px;
    display: block;
    line-height: 1.2;
}

.bulkboost-tiers .no-savings {
    color: #95a5a6;
}

/* Status Column */
.bulkboost-tiers .tier-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100px;
    text-align: center;
}

.current-tier .tier-status {
    background-color: #2ecc71;
    color: #fff;
    box-shadow: 0 3px 8px rgba(46, 204, 113, 0.3);
}

.current-tier .tier-status::before {
    content: '✓';
    margin-right: 5px;
    font-weight: bold;
}

.passed-tier .tier-status {
    background-color: #3498db;
    color: #fff;
    box-shadow: 0 3px 8px rgba(52, 152, 219, 0.3);
}

.future-tier .tier-status {
    background-color: #e0e6ed;
    color: #7f8c8d;
}

/* Progress Bar */
.bulkboost-progress {
    margin: 2em 0;
    padding: 1.2em;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.progress-label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 0.8em;
    font-size: 0.95em;
}

.progress-bar-container {
    height: 12px;
    background-color: #ecf0f1;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 30px;
    transition: width 1s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
    animation: progress-animation 2s linear infinite;
}

@keyframes progress-animation {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 0;
    }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5em;
    font-size: 0.85em;
    color: #7f8c8d;
}

.next-tier-message, 
.max-tier-message {
    text-align: center;
    margin-top: 1em;
    font-weight: 600;
    color: #3498db;
    padding: 8px 16px;
    background-color: rgba(52, 152, 219, 0.08);
    border-radius: 30px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.max-tier-message {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.08);
}

/* Total Sales Counter */
.bulkboost-total-sales {
    margin-top: 1.5em;
    padding: 12px 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    font-size: 1em;
    color: #34495e;
    text-align: center;
    border-left: 4px solid #3498db;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.5s ease;
}

.bulkboost-total-sales.animate-sales {
    transform: translateY(0);
    opacity: 1;
}

.bulkboost-total-sales strong {
    color: #3498db;
    font-weight: 700;
    font-size: 1.1em;
}

/* Benefits Section */
.bulkboost-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1.5em 0 0.5em;
    gap: 10px;
}

.benefit-item {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: #eef2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 1.4em;
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-text {
    font-size: 0.95em;
    color: #34495e;
    line-height: 1.4;
}

/* Row animation */
.bulkboost-tiers tr {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.bulkboost-tiers tr.animated-row {
    opacity: 1;
    transform: translateY(0);
}

/* Share Button */
.bulkboost-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5em;
    padding: 10px 18px;
    background-color: #3498db;
    color: white;
    border-radius: 30px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.bulkboost-share-btn:hover {
    background-color: #2980b9;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.bulkboost-share-btn span::before {
    content: '↗';
    margin-right: 8px;
    font-weight: bold;
}

/* Copy to Clipboard Notification */
.bulkboost-copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #2ecc71;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.bulkboost-copy-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.bulkboost-share-options {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    margin-bottom: 10px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    z-index: 100;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(-10px);
    }
}

.bulkboost-share-options::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.bulkboost-share-options a.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.bulkboost-share-options a.share-link:nth-child(1) {
    background-color: #3b5998;
}

.bulkboost-share-options a.share-link:nth-child(2) {
    background-color: #1da1f2;
}

.bulkboost-share-options a.share-link:nth-child(3) {
    background-color: #ea4335;
}

.bulkboost-share-options a.share-link:nth-child(4) {
    background-color: #25d366;
}

.bulkboost-share-options a.share-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* Countdown Value Animation */
.countdown-value.flip-animation {
    animation: flip 0.3s ease;
}

@keyframes flip {
    0% {
        transform: perspective(400px) rotateX(0);
    }
    50% {
        transform: perspective(400px) rotateX(-90deg);
        color: transparent;
    }
    100% {
        transform: perspective(400px) rotateX(0);
    }
}

@media (max-width: 768px) {
    .bulkboost-pricing-table {
        padding: 1em;
    }
    
    .bulkboost-tiers th,
    .bulkboost-tiers td {
        padding: 12px 10px;
        font-size: 0.9em;
    }
    
    .bulkboost-tiers .tier-status {
        padding: 4px 8px;
    }
    
    .bulkboost-share-options {
        width: 90%;
        justify-content: space-around;
    }
    
    .bulkboost-share-options a.share-link {
        width: 35px;
        height: 35px;
        margin: 0 2px;
    }
    
    .benefit-item {
        min-width: 100%;
    }
    
    .next-tier-message,
    .max-tier-message {
        width: 90%;
        font-size: 0.9em;
    }
}

/* Campaign Status */
.bulkboost-campaign-status {
    margin: 1.5em 0;
    padding: 1.5em;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.bulkboost-campaign-status.active {
    background-color: #f0f9ff;
    border: none;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
}

.bulkboost-campaign-status.ended {
    background-color: #fff5f5;
    border: none;
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.1);
}

.bulkboost-campaign-status p {
    margin-bottom: 1em;
    color: #34495e;
    font-weight: 500;
}

.bulkboost-countdown {
    display: flex;
    justify-content: center;
    margin: 1.5em 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 10px;
    min-width: 60px;
}

.countdown-value {
    font-size: 2em;
    font-weight: 700;
    color: #3498db;
    background: #f0f9ff;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.15);
    position: relative;
    overflow: hidden;
}

.countdown-value::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.countdown-label {
    font-size: 0.8em;
    color: #7f8c8d;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Refund Tables */
.bulkboost-refunds {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 2em;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.bulkboost-refunds th,
.bulkboost-refunds td {
    padding: 14px 18px;
    text-align: left;
    border: none;
    border-bottom: 1px solid #f0f4f8;
}

.bulkboost-refunds th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Original Price Display */
.woocommerce-Price-amount.original-price {
    text-decoration: line-through;
    color: #95a5a6;
    font-size: 0.85em;
    margin-right: 10px;
    font-weight: normal;
    opacity: 0.8;
}

/* Add CSS for WooWallet warning notice */
.bulkboost-woowallet-notice {
    background-color: #fff8e5;
    border-left: 4px solid #ffb900;
    padding: 12px;
    margin: 10px 0 20px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.bulkboost-woowallet-notice p {
    margin: 0.5em 0;
    padding: 2px;
}

.bulkboost-woowallet-notice .button {
    margin-top: 5px;
}

/* Mobile styles */ 