/* Premium Packages Styles */
.packages-stats {
    margin-bottom: 30px;
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.premium-stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.premium-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.premium-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.premium-stat-icon.basic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.premium-stat-icon.gold {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.premium-stat-icon.platinum {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.premium-stat-icon.banner {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.premium-stat-content {
    flex: 1;
}

.premium-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.premium-stat-label {
    display: block;
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.premium-stat-price {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #27ae60;
}

/* Package Cards Grid */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.package-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
    position: relative;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.package-card.basic {
    border-color: #667eea;
}

.package-card.gold {
    border-color: #f093fb;
}

.package-card.platinum {
    border-color: #4facfe;
}

.package-card.banner {
    border-color: #43e97b;
}

.package-card.popular {
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.2);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.package-header {
    text-align: center;
    margin-bottom: 25px;
}

.package-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.package-card.basic .package-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.package-card.gold .package-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.package-card.platinum .package-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.package-card.banner .package-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.package-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #27ae60;
}

.package-price span {
    font-size: 14px;
    font-weight: 400;
    color: #7f8c8d;
}

.package-features {
    margin-bottom: 25px;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.package-features li i.fa-check {
    color: #27ae60;
}

.package-features li i.fa-times {
    color: #667eea;
}

.package-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.package-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 12px;
}

/* Package Badges */
.package-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-align: center;
    display: inline-block;
}

.package-badge.basic {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.package-badge.gold {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.package-badge.platinum {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.package-badge.banner {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* User Info in Table */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.user-email {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
}

/* Features Section in Modal */
.features-section {
    margin: 20px 0;
}

.features-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.feature-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Transaction Styles */
.transaction-list {
    max-height: 400px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
}

.transaction-info {
    flex: 1;
}

.transaction-id {
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
}

.transaction-date {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 2px;
}

.transaction-details {
    flex: 2;
    text-align: center;
}

.package-info {
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 5px;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 700;
    color: #27ae60;
}

.transaction-status {
    flex: 1;
    text-align: right;
}

/* Status Badges */
.status-badge.active {
    background: #27ae60;
}

.status-badge.expired {
    background: #667eea;
}

.status-badge.successful {
    background: #27ae60;
}

.status-badge.pending {
    background: #f39c12;
}

/* Filter Controls */
.package-filter {
    min-width: 150px;
    margin-left: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .transaction-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .package-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .stats-grid-premium {
        grid-template-columns: 1fr;
    }
    
    .premium-stat-card {
        padding: 20px;
        gap: 15px;
    }
    
    .premium-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .premium-stat-number {
        font-size: 24px;
    }
    
    .package-card {
        padding: 20px;
    }
    
    .package-header h3 {
        font-size: 18px;
    }
    
    .package-price {
        font-size: 20px;
    }
}
