.hero-section {
    background: linear-gradient(45deg, #2b5876, #4e4376);
    color: white;
    border-radius: 1rem;
}

.feature-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-badge {
    z-index: 1;
}

.hover-effect {
    cursor: pointer;
}

.stat-item {
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
}

.filter-section {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.prompts-list {
    padding: 2rem 0;
}

.prompt-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Avatar styles */
.prompt-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.prompt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prompt-avatar-default {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 1.5rem;
}

.prompt-card:hover .prompt-avatar {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.prompt-header-with-avatar h3 {
    font-size: 1.25rem;
    margin: 0;
    color: white;
    line-height: 1.3;
}

.usage-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.prompt-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: white;
}

.rating {
    color: #ffd700;
    font-size: 1rem;
}

.prompt-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.prompt-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.use-prompt-btn {
    background: linear-gradient(45deg, #ff9966, #ff5e62);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.use-prompt-btn:hover {
    transform: translateY(-2px);
}

/* Styles spécifiques pour la section des filtres */
.filter-section {
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-section .form-control {
    height: 45px;
}

.filter-section .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* Filters form tweaks (prompts page) */
.filters-form .input-group-text {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.filters-form .btn.btn-mint {
    background: var(--mint-color);
    border-color: var(--mint-color);
    color: var(--mint-color); /* readable text over mint */
    font-weight: 600;
}

.filters-form .btn.btn-mint:hover {
    background: #7cffa7;
    border-color: var(--mint-color);
}

.filters-form .btn.btn-mint i { color: inherit; }

/* Align Filter button with inputs */
.filters-form .form-group {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.filters-form .row > div:last-child .form-group {
    justify-content: flex-end;
}

.filters-form .form-control { height: 45px; }
.filters-form .btn-mint {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-section select.form-control {
    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='%23ffffff' 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;
}

.filter-section .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.filter-section .btn-mint {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Suppression du margin-top: 2rem; qui causait le décalage */
}

/* Amélioration des options dans les selects */
.filter-section select option {
    background-color: #2C2F33;
    color: white;
    padding: 8px;
}

/* Style au survol des éléments */
.filter-section .form-control:hover,
.filter-section .input-group-text:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Animation douce au focus */
.filter-section .form-control:focus {
    box-shadow: 0 0 0 2px var(--mint-color);
    border-color: transparent;
}

.card-stats {
    position: relative;
    padding-top: 0.5rem;
}

.usage-badge {
    position: static; /* Annule le positionnement absolu précédent */
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.rating {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #ffd700;
}

.prompt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.prompt-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.prompt-card:hover {
    transform: translateY(-5px);
}

.modal-content.glassmorphic {
    background: rgba(30, 30, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
}

.modal-body {
    padding: 1rem 1.5rem;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.prompt-content-wrapper {
    transition: all 0.3s ease;
}

.prompt-content-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.modal .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Modifier/Ajouter ces styles dans la section des filtres */
.filter-section .form-group {
    display: flex;
    flex-direction: column;
    height: 100%; /* Assure une hauteur complète */
}

/* Pour le conteneur du bouton spécifiquement */
.filter-section .form-group:last-child {
    justify-content: flex-end;
}

/* Ajuster la hauteur du bouton pour correspondre aux inputs */
.filter-section .btn-mint {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}