﻿
/* Subscription details */
.subscription-details {
    flex: 1;
}

.detail-row {
    display: flex;
    margin-bottom: 12px;
    font-size: 15px;
    align-items: center;
}

.detail-label {
    width: 200px;
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}

.detail-value {
    color: #1f2937;
    font-weight: 500;
}


.active-status::before {
    content: '●';
    color: #10b981;
    font-size: 12px;
}

.inactive-status {
    color: #dc2626;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .inactive-status::before {
        content: '●';
        color: #ef4444;
        font-size: 12px;
    }

/* Features list */
.features-list {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

    .features-list h4 {
        margin-bottom: 16px;
        color: #1e293b;
        font-size: 18px;
        font-weight: 700;
    }

    .features-list ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
    }

    .features-list li {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 15px;
        color: #374151;
        padding: 8px 0;
    }

        .features-list li svg {
            color: #10b981;
            flex-shrink: 0;
            background: #ecfdf5;
            border-radius: 50%;
            padding: 2px;
        }

/* Usage statistics */
.usage-stats {
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-radius: 12px;
    border: 1px solid #fed7aa;
}

    .usage-stats h4 {
        margin-bottom: 20px;
        color: #92400e;
        font-size: 18px;
        font-weight: 700;
    }

.usage-item {
    margin-bottom: 20px;
}

    .usage-item:last-child {
        margin-bottom: 0;
    }

.usage-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
    color: #78716c;
    font-weight: 600;
}

.usage-bar {
    height: 10px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.usage-progress {
    height: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 6px;
    transition: width 0.8s ease;
    position: relative;
}

    .usage-progress::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.usage-text {
    font-size: 13px;
    color: #6b7280;
    text-align: right;
    font-weight: 500;
}


/* Styles pour la page d'abonnement */

/* Settings panel et cards généraux */

.settings-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #eee;
}


.card-content {
    padding: 20px;
}

/* Styles spécifiques pour l'abonnement */
.subscription-overview {
    position: relative;
    overflow: hidden;
}

.subscription-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.plan-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

    .plan-badge.standard {
        background-color: #e3f2fd;
        color: #1976d2;
    }

    .plan-badge.professional {
        background-color: #e8f5e9;
        color: #2e7d32;
    }

    .plan-badge.enterprise {
        background-color: #ede7f6;
        color: #5e35b1;
    }

.subscription-details {
    flex: 1;
}

.detail-row {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-label {
    width: 160px;
    font-weight: 500;
    color: #666;
}

.detail-value {
    color: #333;
}

.active-status {
    color: #4caf50;
    font-weight: 500;
}

.inactive-status {
    color: #f44336;
    font-weight: 500;
}

.features-list {
    margin-bottom: 24px;
}

    .features-list h4 {
        margin-bottom: 12px;
        color: #333;
    }

    .features-list ul {
        list-style: none;
    }

    .features-list li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 14px;
    }

        .features-list li svg {
            color: #4caf50;
            flex-shrink: 0;
        }

.usage-stats {
    margin-bottom: 24px;
}

    .usage-stats h4 {
        margin-bottom: 12px;
        color: #333;
    }

.usage-item {
    margin-bottom: 16px;
}

.usage-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    color: #666;
}

.usage-bar {
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.usage-progress {
    height: 100%;
    background-color: #2196F3;
    border-radius: 4px;
}

.usage-text {
    font-size: 12px;
    color: #666;
    text-align: right;
}





/* Responsive styles pour mobile */
@media (max-width: 992px) {
    .subscription-info {
        flex-direction: column;
        gap: 16px;
    }
}
