/* Membership Status Display */
.abd-membership-status {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.abd-membership-status h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.4em;
    font-weight: 700;
}

/* Tier Badges */
.abd-tier-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.abd-tier-badge.abd-tier-free {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

.abd-tier-badge.abd-tier-business {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.abd-tier-badge.abd-tier-enterprise {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Membership Details */
.abd-membership-details {
    margin-top: 20px;
}

.abd-membership-details p {
    margin: 10px 0;
    font-size: 1.1em;
    color: #495057;
}

.abd-membership-details strong {
    color: #2c3e50;
}

/* Tier Features List */
.abd-tier-features {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.abd-tier-features h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abd-tier-features h4::before {
    content: "✨";
    font-size: 1.2em;
}

.abd-tier-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.abd-tier-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
    font-size: 1em;
    color: #495057;
}

.abd-tier-features li:last-child {
    border-bottom: none;
}

/* Upgrade Notice */
.abd-upgrade-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.abd-upgrade-notice h3 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 1.5em;
    font-weight: 700;
}

.abd-upgrade-notice p {
    margin: 10px 0;
    color: #856404;
    font-size: 1.1em;
}

.abd-upgrade-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.abd-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Submission Limit Messages */
.abd-submission-limit {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #721c24;
}

.abd-submission-limit h3 {
    margin: 0 0 10px 0;
    color: #721c24;
    font-size: 1.3em;
}

.abd-submission-limit p {
    margin: 8px 0;
    line-height: 1.6;
}

/* Tier Comparison Cards */
.abd-tier-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.abd-tier-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.abd-tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.abd-tier-card.tier-business::before {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.abd-tier-card.tier-enterprise::before {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.abd-tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.abd-tier-card h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.5em;
    font-weight: 700;
}

.abd-tier-price {
    margin: 15px 0;
}

.abd-tier-price .price-amount {
    font-size: 2.5em;
    font-weight: 700;
    color: #2c3e50;
}

.abd-tier-price .price-period {
    color: #6c757d;
    font-size: 1em;
}

.abd-tier-price .price-free {
    font-size: 2em;
    font-weight: 700;
    color: #28a745;
}

.abd-tier-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.abd-tier-card li {
    padding: 8px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abd-tier-card li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}

.abd-tier-card li.disabled::before {
    content: "✗";
    color: #dc3545;
}

.abd-tier-card li.disabled {
    color: #adb5bd;
    text-decoration: line-through;
}












/* Business Limit Progress */
.abd-business-limit-progress {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.abd-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #495057;
}

.abd-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.abd-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.abd-progress-fill.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.abd-progress-fill.danger {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .abd-tier-comparison {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .abd-tier-card {
        padding: 20px 15px;
    }
    
    .abd-membership-status {
        padding: 20px 15px;
    }
    
    .abd-tier-price .price-amount {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .abd-upgrade-notice {
        padding: 20px 15px;
    }
    
    .abd-upgrade-btn {
        display: block;
        text-align: center;
        padding: 15px 20px;
    }
    
    .abd-tier-features {
        padding: 15px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .abd-membership-status,
    .abd-tier-features,
    .abd-tier-card {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .abd-membership-status h3,
    .abd-tier-features h4,
    .abd-tier-card h3 {
        color: #ecf0f1;
    }
    
    .abd-tier-card:hover {
        border-color: #667eea;
    }
    
    .abd-business-limit-progress {
        background: #34495e;
        border-color: #4a5f7a;
    }
}

/* Animation Classes */
.abd-fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.abd-bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* Accessibility */
.abd-tier-badge:focus,
.abd-upgrade-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .abd-upgrade-notice,
    .abd-upgrade-btn {
        display: none;
    }
    
    .abd-tier-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}