/* Styles globaux pour les souscriptions */
.subscription-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.form-title {
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    gap: 0.75rem;
}

.actions-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Card styling */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
}

.card-header h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-body {
    padding: 1.75rem;
    flex: 1 1 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
    flex: 1;
    min-width: 250px;
}

.form-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.form-label i {
    width: 16px;
    color: var(--accent-color);
}

/* Form inputs */
.subscription-input {
    display: block;
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.subscription-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(109, 228, 163, 0.2);
    color: var(--text-primary);
}

/* Select inputs */
select.form-select {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    background-image: none;
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
}

/* Style pour les status options */
.status-select option[value="active"] {
    background-color: #1cc88a;
    color: white;
    font-weight: 600;
}

.status-select option[value="pending"] {
    background-color: #f6c23e;
    color: white;
    font-weight: 600;
}

.status-select option[value="expired"] {
    background-color: #e74a3b;
    color: white;
    font-weight: 600;
}

.status-select option[value="cancelled"] {
    background-color: #858796;
    color: white;
    font-weight: 600;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.35em 0.75em;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 24px; /* Pill style */
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.status-active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
}

.status-pending {
    background-color: #f59e0b;
    color: white;
    font-weight: 600;
}

.status-expired {
    background-color: #ef4444;
    color: white;
    font-weight: 600;
}

.status-cancelled {
    background-color: #6b7280;
    color: white;
    font-weight: 600;
}

.status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Static form controls for view */
.form-control-static {
    display: block;
    padding: 0.875rem 1rem;
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Styles spécifiques pour la page de visualisation */
.montant-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cycle-facturation {
    font-weight: 600;
    color: var(--text-primary);
}

.date-debut {
    color: var(--accent-color);
    font-weight: 600;
}

.date-fin {
    color: #ef4444;
    font-weight: 600;
}

.description-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1.25rem 1.5rem;
    color: var(--text-primary);
    line-height: 1.6;
    border-radius: var(--radius);
}

/* Boutons */
.btn-subscription {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    user-select: none !important;
    border: 2px solid transparent !important;
    border-radius: var(--radius) !important;
    transition: all 0.3s ease !important;
    min-width: 40px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn-subscription i {
    font-size: 1.1rem !important;
    margin: 0 !important;
}

.btn-subscription:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Style pour le bouton primaire */
.btn-subscription.btn-primary {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
    border-color: var(--accent-color) !important;
}

.btn-subscription.btn-primary:hover {
    background-color: #5bc991 !important;
    border-color: #5bc991 !important;
}

/* Style pour le bouton outline */
.btn-subscription.btn-outline {
    background-color: transparent !important;
    border-color: var(--accent-color) !important;
    color: var(--accent-color) !important;
}

.btn-subscription.btn-outline:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

/* Style pour le bouton outline danger */
.btn-subscription.btn-outline-danger {
    background-color: transparent !important;
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
}

.btn-subscription.btn-outline-danger:hover {
    background-color: #ff6b6b !important;
    color: white !important;
}

/* Tables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
}

.table th,
.table td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.table th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-bordered {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #e2e8f0;
}

/* Premier th et td de chaque ligne */
.table-bordered th:first-child,
.table-bordered td:first-child {
    border-left: 1px solid #e2e8f0;
}

/* Dernier th et td de chaque ligne */
.table-bordered th:last-child,
.table-bordered td:last-child {
    border-right: 1px solid #e2e8f0;
}

/* Première ligne du thead */
.table-bordered thead tr:first-child th {
    border-top: 1px solid #e2e8f0;
}

/* Première ligne du thead, premier et dernier th */
.table-bordered thead tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

.table-bordered thead tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

/* Dernière ligne du tbody, premier et dernier td */
.table-bordered tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.table-bordered tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

/* Alternance de couleurs sur les lignes du tableau */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9fafb;
}

/* Hover sur les lignes */
.table-hover tbody tr:hover, tr:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.2s ease;
}

/* Styles pour les actions dans le tableau */
.table td.actions {
    display: flex !important;
    gap: 0.75rem !important;
    justify-content: flex-end !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
}

/* Icônes dans les actions */
.action-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--radius) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-primary) !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 1px solid var(--border-color) !important;
}

.action-icon:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.action-icon.view:hover {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.action-icon.edit:hover {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border-color: #10b981 !important;
}

.action-icon.delete:hover {
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* Responsive du tableau */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .table thead {
        display: none;
    }
    
    .table, 
    .table tbody, 
    .table tr, 
    .table td {
        display: block;
        width: 100%;
    }
    
    .table tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 0.75rem 1rem;
    }
    
    .table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #475569;
        text-align: left;
    }
    
    .table td.actions {
        justify-content: center;
        padding: 1rem;
    }
    
    .table-bordered td:first-child {
        border-top: none;
    }
}

/* Formulaire actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Styles pour le symbole euro */
.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group .subscription-input {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append {
    display: flex;
    margin-left: -1px;
}

/* Media queries */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-subscription {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Animation de chargement */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
    gap: 1rem;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25rem solid #f3f3f3;
    border-radius: 50%;
    border-top: 0.25rem solid #4e73df;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #4e73df;
    font-weight: 600;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles pour les écrans de souscription */
.subscription-form-container {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin: 1.5rem auto;
    max-width: 1200px;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

/* Styles pour les entrées de formulaire */
.form-label {
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control-static {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    min-height: 42px;
    display: flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.95rem;
    color: #1e293b;
}

/* Styles pour les sections de formulaire */
.form-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

.form-row > .col-md-3,
.form-row > .col-md-4,
.form-row > .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
    flex: 0 0 25%;
    max-width: 25%;
}

@media (max-width: 768px) {
    .form-row > .col-md-3,
    .form-row > .col-md-4,
    .form-row > .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Styles pour le sélecteur de mode d'entrée */
.entry-type-selector {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 500px;
}

.toggle-option {
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-option.active {
    color: var(--primary-color);
    background-color: var(--accent-color);
    font-weight: 600;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    margin: 0 0.5rem;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}

.toggle-label:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-label {
    background-color: var(--accent-color);
}

.toggle-input:checked + .toggle-label:before {
    transform: translateX(30px);
}

/* Section de téléchargement */
.upload-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.upload-zone:hover, .upload-zone-dragover {
    border-color: #3498db;
    background-color: #f1f7fe;
}

.upload-icon {
    font-size: 2.5rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.upload-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.5rem;
}

.upload-formats {
    font-size: 0.85rem;
    color: #64748b;
}

.file-input {
    display: none;
}

/* Bouton d'action */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

/* Styles responsive */
@media (max-width: 768px) {
    .subscription-form-container {
        padding: 1.5rem;
        margin: 1rem 0;
        border-radius: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .toggle-container {
        flex-direction: column;
        background: none;
        border: none;
        padding: 0;
        gap: 1rem;
    }

    .toggle-option {
        width: 100%;
        justify-content: center;
        border: 1px solid #e2e8f0;
    }
}

/* Amélioration des cartes */
.card {
    transition: box-shadow 0.2s ease-in-out;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Styles pour les boutons d'actions */
.actions-bar {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.btn-subscription {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(109, 228, 163, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: #5bd394;
    box-shadow: 0 4px 12px rgba(109, 228, 163, 0.4);
    transform: translateY(-2px);
}

.btn-success {
    background-color: #10b981;
    color: white;
    border: 2px solid #10b981;
}

.btn-success:hover {
    background-color: #059669;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

/* Style badges de statut */
.status-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.status-active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.status-pending {
    background-color: #f59e0b;
    color: white;
}

.status-expired {
    background-color: #ef4444;
    color: white;
}

.status-cancelled {
    background-color: #6b7280;
    color: white;
}

.badge {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-success {
    background-color: #10b981 !important;
    color: white;
}

.bg-warning {
    background-color: #f59e0b !important;
    color: white;
}

.bg-danger {
    background-color: #ef4444 !important;
    color: white;
}

.bg-secondary {
    background-color: #6b7280 !important;
    color: white;
}

/* Style pour le select de statut */
.status-select {
    font-weight: 500;
}

/* Styles des options pour les statuts */
.status-option-active {
    color: #10b981;
    font-weight: 600;
}

.status-option-pending {
    color: #f59e0b;
    font-weight: 600;
}

.status-option-expired {
    color: #ef4444;
    font-weight: 600;
}

.status-option-cancelled {
    color: #6b7280;
    font-weight: 600;
}

/* Style pour l'élément avec la classe Active */
.Active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.35em 0.65em;
    font-size: 0.85em;
    border-radius: var(--radius);
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style personnalisé pour le select avec couleurs */
select.subscription-input option {
    padding: 10px;
}

select.subscription-input option:checked {
    background-color: #f8fafc;
    font-weight: 700;
}

/* Amélioration de l'espacement sur les pages de modification */
.card-body {
    padding: 1.75rem;
}

.row.mb-4 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.25rem !important;
}

/* Uniformisation des champs input */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    font-family: 'Poppins', 'Montserrat', sans-serif;
}

.form-control:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(109, 228, 163, 0.2);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Correction du problème d'affichage des selects */
select.form-select.subscription-input {
    display: block;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Classes personnalisées par couleur de statut */
select.subscription-input option.status-option-active {
    background-color: rgba(16, 185, 129, 0.1);
}

select.subscription-input option.status-option-pending {
    background-color: rgba(245, 158, 11, 0.1);
}

select.subscription-input option.status-option-expired {
    background-color: rgba(239, 68, 68, 0.1);
}

select.subscription-input option.status-option-cancelled {
    background-color: rgba(107, 114, 128, 0.1);
}

/* Style pour l'input-group sur la page d'édition */
.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    text-align: center;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.input-group > .form-control, 
.input-group > .form-select,
.input-group > .subscription-input {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Styles des cartes */
.frosted-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Grille d'information pour la page de détail et d'édition */
.subscription-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    margin-bottom: 15px;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 5px;
    display: block;
    font-size: 0.85rem;
}

.info-value {
    font-weight: 500;
    font-size: 1rem;
    color: #343a40;
}

/* Styles pour les éléments de formulaire */
.subscription-input {
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.subscription-input:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    border-color: #4e73df;
}

.cost-display {
    font-weight: 600;
    color: #4e73df;
    padding: 8px 12px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(78, 115, 223, 0.2);
}

.description-box {
    background-color: #f8f9fa;
    min-height: 100px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Media queries pour la responsivité */
@media (max-width: 992px) {
    .subscription-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .subscription-info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-column {
        margin-bottom: 15px;
    }
}