/* Style pour les select */
.login__input select {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    height: 60px;
    width: 100%;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    padding-left: 10px;
    padding-right: 10px; /* Espace pour la flèche */
    border: none;
    border-radius: 4px;
    appearance: none;
    /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba(255, 255, 255, 0.5)' 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 20px center;
    background-size: 16px 12px;
}

.login__input select:focus {
    outline: none;
}

.login__input select option {
    background-color: #121212;
    color: rgba(255, 255, 255, 0.5);
}

/* Style pour les input file */
.login__input input[type="file"] {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    height: 70px;
    width: 100%;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
}

.login__input input[type="file"]::file-selector-button {
    height: 50px;
    padding: 0 20px;
    margin-right: 16px;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.login__input input[type="file"]:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.login__input input[type="file"]::file-selector-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Style pour le label des input file */
.login__input label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Style pour les textarea */
.login__input textarea {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
    /* min-height: 120px; */
    width: 100%;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    resize: vertical;
    transition: all 0.3s;
}

.login__input textarea:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.login__input textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Styles pour le popup Pikaday */
.pika-single {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    width: 300px;
    font-size: 14px;
}

.pika-button {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    width: 35px;
    height: 35px;
    line-height: 35px;
    padding: 0;
}

.pika-button:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.is-selected .pika-button {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    box-shadow: none;
}

.is-today .pika-button {
    color: #3498db;
}

.pika-lendar {
    width: 100%;
    padding: 14px;
}

.pika-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pika-label {
    order: 2;
    flex: 1;
    text-align: center;
}

.pika-prev,
.pika-next {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.pika-prev:hover,
.pika-next:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Ajustement de la position des flèches */
.pika-prev {
    margin-right: 10px;
    order: 1;
}

.pika-next {
    margin-left: 10px;
    order: 3;
}

.pika-table th {
    padding: 8px 0;
}

.pika-table td {
    padding: 2px;
}

/* Nouvelles cartes et boutons */
.bd-gradient-card {
    background: linear-gradient(45deg, #2b2b2b, #3a3a3a);
    border-radius: 10px;
    color: white;
}

.bd-light-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.bd-light-card h5 {
    font-size: 1.1rem;
    opacity: 0.9;
}

.bd-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: white;
    transition: all 0.3s ease;
}

.bd-stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bd-text-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.bd-text-link:hover {
    color: white;
}

.bd-transaction-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.bd-transaction-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Wrapper pour les pages authentifiées */
.auth-wrapper {
    background: var(--bd-bg-6);
    padding: 40px;
    border-radius: 10px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-wrapper {
        padding: 30px 20px;
    }
}

/* Container avec largeur maximale pour le contenu */
.auth-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des boutons d'action */
.bd-light-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
}

.bd-light-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Style pour les boutons de paramètres */
.bd-light-btn[aria-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

.bd-light-btn i {
    width: 20px;
    text-align: center;
}

/* Animation hover pour les cartes */
.bd-light-card {
    transition: transform 0.3s ease;
}

.bd-light-card:hover {
    transform: translateY(-2px);
}

/* Styles pour les cartes virtuelles */
.bd-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.bd-glass-card.classic {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.2));
}

.bd-glass-card.premium {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(241, 196, 15, 0.2));
}

.bd-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Badges et alertes */
.bd-badge-success {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.bd-badge-primary {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-block;
}

.bd-alert-success,
.bd-alert-info {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #2ecc71;
    padding: 15px;
    border-radius: 4px;
    display: flex;
    align-items: start;
    gap: 10px;
}

.bd-alert-info {
    border-left-color: #3498db;
}

/* Bouton danger */
.bd-danger-btn {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.bd-danger-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

/* Correction du dégradé hero */
.banner-overlay-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

/* Style des cartes verticales */
.virtual-card-glass.vertical {
    aspect-ratio: 1.58/1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    min-height: 380px;
    max-height: 400px;
    width: 100%;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 100%
    );
}

.virtual-card-glass.vertical.classic {
    background: linear-gradient(135deg,
        rgba(52, 152, 219, 0.15) 0%,
        rgba(52, 152, 219, 0.05) 100%
    );
}

.virtual-card-glass.vertical.premium {
    background: linear-gradient(135deg,
        rgba(241, 196, 15, 0.15) 0%,
        rgba(241, 196, 15, 0.05) 100%
    );
}

.card-stats {
    flex: 0.8;
    margin: 15px 0;
}

.stats-graph {
    width: 100%;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px;
}

/* Amélioration de l'effet glassmorphisme */
.virtual-card-glass {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.37),
        inset 0 0 0 1px rgba(255,255,255,0.1);
}

/* Animation de brillance améliorée */
.virtual-card-glass::after {
    background: linear-gradient(
        125deg,
        transparent 0%,
        rgba(255,255,255,0.1) 50%,
        transparent 100%
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(25deg); }
    100% { transform: translateX(100%) rotate(25deg); }
}

/* Ajustement pour les écrans mobiles */
@media (max-width: 768px) {
    .virtual-card-glass.vertical {
        min-height: 320px;
        padding: 20px;
    }

    .card-stats {
        margin: 10px 0;
    }

    .stats-graph {
        height: 60px;
    }

    .card-number {
        font-size: 1.2em;
    }
}

/* Badges pour les statuts */
.bd-badge-warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.bd-badge-danger {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Style pour les boutons de filtre */
.bd-light-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animation pour les transactions */
.bd-light-card {
    transition: all 0.3s ease;
}

.bd-light-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.07);
}

/* Styles pour les filtres responsifs */
.transaction-filters {
    position: relative;
    width: 100%;
}

.filters-scroll {
    display: flex;
    gap: 10px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.filters-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Style des boutons de filtre */
.bd-light-btn {
    white-space: nowrap;
    min-width: auto;
    padding: 8px 16px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bd-light-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .bd-light-btn i {
        margin-right: 6px !important;
    }

    .filters-scroll {
        gap: 8px;
        margin: 0 -10px;
        padding: 0 10px 5px 10px;
    }
}

@media (max-width: 480px) {
    .bd-light-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .filter-text {
        display: none;
    }

    .bd-light-btn i {
        margin-right: 0 !important;
    }
}

/* Amélioration du style actif */
.bd-light-btn.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.bd-light-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

/* Style des formulaires */
.auth-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    color: rgba(255, 255, 255, 0.5);
}

.form-control {
    background: transparent;
    border: none;
    padding: 15px;
    color: #fff;
    flex: 1;
}

.form-control:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,...");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding-left: 50px;
}


