/* Admin Styles */
.membership-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
}
.membership-free {
    background: #e0e0e0;
    color: #333;
}
.membership-premium {
    background: #ffd700;
    color: #000;
}
.category-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #0073aa;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    margin: 2px;
}

/* Frontend Membership Dashboard Styles */
.amm-membership-dashboard {
    max-width: 1200px;
    margin: 0 auto;
}
.amm-current-membership {
    margin: 40px 0;
}

.amm-current-membership h3 {
    font-family: "Poppins", Sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.3em;
    color: var(--e-global-color-primary);
}
.amm-membership-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.amm-membership-card.membership-free {
    border-color: #999;
}
.amm-membership-card.membership-premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}
.amm-membership-type .membership-badge {
    display: inline-block;
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}
.amm-membership-card.membership-premium .membership-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
}
.amm-membership-details {
    margin-top: 20px;
}
.amm-detail-row {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.amm-detail-row:last-child {
    border-bottom: none;
}
.amm-categories-list {
    margin-top: 10px;
}
.category-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #0073aa;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    margin: 3px;
}
.status-active {
    color: green;
    font-weight: bold;
}
.status-inactive {
    color: #999;
}
.amm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}
.amm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa 0%, #00a0d2 100%);
    transition: width 0.3s ease;
}
.amm-available-addons h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}
.amm-addon-section {
    margin-bottom: 40px;
}
.amm-addon-section h4 {
    font-family: "Poppins", Sans-serif;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.3em;
    color: var(--e-global-color-secondary);
}
.amm-section-description {
    color: #666;
    margin-bottom: 20px;
}
.amm-addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.amm-addon-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.amm-addon-card:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0,115,170,0.15);
    transform: translateY(-2px);
}
.amm-addon-card.addon-owned {
    border-color: #46b450;
    background: #f0f9f1;
}
.addon-header {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}
.addon-header h5 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}
.addon-price {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
}
.addon-status {
    display: inline-block;
    padding: 5px 15px;
    background: #46b450;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}
.addon-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}
.addon-features {
    margin-bottom: 20px;
    flex-grow: 1;
}
.addon-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.addon-features li {
    padding: 3px 0;
    color: #555;
    font-size: 14px;
}
.amm-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.amm-btn-primary {
    background: #0073aa;
    color: white;
}
.amm-btn-primary:hover {
    background: #005a87;
    transform: scale(1.02);
    color: white;
}
.amm-btn-upgrade {
    background: #ffd700;
    color: #000;
}
.amm-btn-upgrade:hover {
    background: #ffed4e;
}
.amm-btn-disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}
@media (max-width: 768px) {
    .amm-addon-grid {
        grid-template-columns: 1fr;
    }
}

/* NEW: Expiration Banner Styles - Updated to match card design */
.amm-expiration-banner {
    background: #FF000014;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid #f44336;
}

.amm-expiration-banner:hover {
    border-color: #f44336;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.15);
    transform: translateY(-2px);
}

.amm-expiration-banner h4 {
    color: #d32f2f;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Poppins", Sans-serif;
    font-size: 1.2em;
}

.amm-expiration-banner p {
    margin-bottom: 10px;
}

.amm-expiration-banner ul {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.amm-expiration-banner li {
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
}