/* =========================
   UK STREET MARKETPLACE
   STYLE PRINCIPAL
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f7;
    color: #222;
    line-height: 1.6;
}


/* =========================
   EN-TÊTE PRINCIPAL
   ========================= */

.site-header {
    background-color: #111827;
    color: white;
    padding: 16px 0;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    gap: 25px;
}

.brand {
    min-width: 150px;
}

.brand h1 {
    font-size: 25px;
    line-height: 1.1;
    margin: 0;
}

.brand span {
    display: block;
    font-size: 13px;
    color: #cbd5e1;
}


/* =========================
   BARRE DE RECHERCHE
   ========================= */

.search-bar {
    display: flex;
    flex: 1;
}

.search-bar input {
    width: 100%;
    padding: 12px 15px;

    border: none;
    border-radius: 8px 0 0 8px;

    font-size: 15px;
    outline: none;
}

.search-bar button {
    padding: 12px 18px;

    border: none;
    border-radius: 0 8px 8px 0;

    background-color: #f59e0b;
    color: #111827;

    font-weight: bold;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #fbbf24;
}


/* =========================
   NAVIGATION
   ========================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 15px;
}

.main-nav a:hover {
    text-decoration: underline;
}

.main-nav .sell-button {
    background-color: #22c55e;
    padding: 10px 17px;
    border-radius: 8px;
    font-weight: bold;
}

.main-nav .sell-button:hover {
    background-color: #16a34a;
    text-decoration: none;
}


/* =========================
   CONTENU PRINCIPAL
   ========================= */

main {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}


/* =========================
   SECTIONS
   ========================= */

section {
    background-color: white;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
}

section h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

section p {
    color: #666;
}


/* =========================
   HERO
   ========================= */

.hero {
    text-align: center;
    padding: 40px 25px;
}

.hero h2 {
    font-size: 32px;
    margin-bottom: 8px;
}


/* =========================
   TITRES DES SECTIONS
   ========================= */

.section-title {
    margin-bottom: 20px;
}

.section-title h2 {
    margin-bottom: 2px;
}

.section-title p {
    font-size: 14px;
}


/* =========================
   CATÉGORIES
   ========================= */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    min-height: 120px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 8px;

    background-color: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    color: #111827;
    text-decoration: none;
    font-weight: bold;

    transition: 0.2s;
}

.category-card:hover {
    background-color: #fff7ed;
    border-color: #f59e0b;
    transform: translateY(-3px);
}

.category-icon {
    font-size: 32px;
}


/* =========================
   ARTICLES
   ========================= */

.empty-products {
    padding: 30px;
    text-align: center;
    background-color: #f8fafc;
    border-radius: 10px;
}


/* =========================
   GRILLE DES PRODUITS
   ========================= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* =========================
   CARTE PRODUIT
   ========================= */

.product-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}


/* =========================
   IMAGE PRODUIT
   ========================= */

.product-image {
    width: 100%;
    height: 220px;
    background-color: #f3f4f6;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   INFORMATIONS PRODUIT
   ========================= */

.product-info {
    padding: 15px;
}

.product-category {
    display: inline-block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-price {
    font-size: 19px;
    font-weight: bold;
    color: #111827 !important;
    margin-bottom: 4px;
}

.product-location {
    font-size: 14px;
    margin-bottom: 12px;
}


/* =========================
   BOUTON PRODUIT
   ========================= */

.product-button {
    display: block;
    width: 100%;
    padding: 10px;

    text-align: center;
    text-decoration: none;

    background-color: #111827;
    color: white;

    border-radius: 8px;
    font-weight: bold;

    transition: 0.2s;
}

.product-button:hover {
    background-color: #f59e0b;
    color: #111827;
}


/* =========================
   PAGE PRODUIT
   ========================= */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}


/* =========================
   IMAGE DÉTAIL PRODUIT
   ========================= */

.product-detail-image {
    width: 100%;
    min-height: 500px;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
}


/* =========================
   INFORMATIONS DÉTAIL PRODUIT
   ========================= */

.product-detail-info h2 {
    font-size: 32px;
    margin-bottom: 5px;
}

.detail-price {
    font-size: 28px;
    font-weight: bold;
    color: #111827 !important;
    margin-bottom: 5px;
}

.detail-location {
    font-size: 15px;
    margin-bottom: 25px;
}


/* =========================
   DESCRIPTION
   ========================= */

.product-description {
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.product-description h3 {
    margin-bottom: 8px;
}


/* =========================
   VENDEUR
   ========================= */

.seller-box {
    margin-top: 20px;
    padding: 15px;

    background-color: #f8fafc;
    border-radius: 10px;
}

.seller-box h3 {
    margin-bottom: 3px;
}


/* =========================
   BOUTON WHATSAPP
   ========================= */

.whatsapp-button {
    display: block;
    margin-top: 20px;
    padding: 14px 20px;

    text-align: center;
    text-decoration: none;

    background-color: #22c55e;
    color: white;

    border-radius: 10px;
    font-weight: bold;
    font-size: 17px;

    transition: 0.2s;
}

.whatsapp-button:hover {
    background-color: #16a34a;
}


/* =========================
   INSCRIPTION / CONNEXION
   ========================= */

.auth-main {
    max-width: 650px;
}

.auth-card {
    padding: 35px;
}

.auth-title {
    text-align: center;
    margin-bottom: 25px;
}

.auth-title h2 {
    font-size: 30px;
    margin-bottom: 5px;
}

.auth-title p {
    font-size: 15px;
}


/* =========================
   ABONNEMENT INSCRIPTION
   ========================= */

.subscription-info {
    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;

    padding: 18px;
    margin-bottom: 25px;
}

.subscription-info strong {
    display: block;
    color: #111827;
}

.subscription-price {
    display: block;

    font-size: 22px;
    font-weight: bold;
    color: #16a34a;

    margin: 5px 0;
}

.subscription-info p {
    font-size: 14px;
}


/* =========================
   FORMULAIRES
   ========================= */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-weight: bold;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    font-size: 15px;
    font-family: inherit;

    outline: none;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #f59e0b;
}

.form-group small {
    color: #6b7280;
    font-size: 12px;
}


/* =========================
   CONDITIONS
   ========================= */

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    font-size: 14px;
    cursor: pointer;
}

.terms-check input {
    margin-top: 4px;
}


/* =========================
   BOUTON FORMULAIRE
   ========================= */

.auth-submit {
    width: 100%;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background-color: #22c55e;
    color: white;

    font-size: 16px;
    font-weight: bold;

    cursor: pointer;
}

.auth-submit:hover {
    background-color: #16a34a;
}


/* =========================
   BAS DU FORMULAIRE
   ========================= */

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-footer a {
    color: #111827;
    font-weight: bold;
}


/* =========================
   MESSAGES FORMULAIRE
   ========================= */

.form-errors {
    padding: 15px;
    margin-bottom: 20px;

    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.form-errors p {
    color: #b91c1c;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-errors p:last-child {
    margin-bottom: 0;
}

.form-success {
    padding: 15px;
    margin-bottom: 20px;

    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.form-success p {
    color: #166534;
    margin-bottom: 8px;
}

.form-success a {
    color: #166534;
    font-weight: bold;
}


/* =========================
   TABLEAU DE BORD VENDEUR
   ========================= */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    background: transparent;
    padding: 0;
}

.dashboard-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
}

.dashboard-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.dashboard-card p {
    margin-bottom: 12px;
}

.dashboard-number {
    font-size: 40px;
    font-weight: bold;
    color: #111827 !important;
}

.dashboard-status strong {
    color: #111827;
}


/* =========================
   BOUTONS TABLEAU DE BORD
   ========================= */

.dashboard-button {
    display: inline-block;

    padding: 11px 16px;

    background-color: #22c55e;
    color: white;

    text-decoration: none;
    font-weight: bold;

    border-radius: 8px;
}

.dashboard-button:hover {
    background-color: #16a34a;
}

.dashboard-button.warning {
    background-color: #f59e0b;
    color: #111827;
}

.dashboard-button.warning:hover {
    background-color: #fbbf24;
}


/* =========================
   PRODUITS DU VENDEUR
   ========================= */

.seller-products {
    margin-top: 25px;
}


/* =========================
   LISTE DES PRODUITS VENDEUR
   ========================= */

.seller-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.seller-product-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 15px;
    align-items: center;

    padding: 15px;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    background-color: white;
}

/* =========================
   PETITE IMAGE PRODUIT VENDEUR
   ========================= */

.seller-product-image {
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;

    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f4f6;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6b7280;
    font-size: 10px;
}

.seller-product-image img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: cover;
    display: block;
}

/* =========================
   INFORMATIONS PRODUIT VENDEUR
   ========================= */

.seller-product-content {
    min-width: 0;
}

.seller-product-content h3 {
    margin-bottom: 4px;
}

.seller-product-content p {
    margin-bottom: 3px;
}

/* =========================
   ACTIONS PRODUIT VENDEUR
   ========================= */

.seller-product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.seller-product-actions form {
    margin: 0;
}

.seller-action-button {
    display: block;
    min-width: 100px;
    padding: 9px 12px;
    border: none;
    border-radius: 7px;
    text-align: center;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.seller-action-button.view {
    background-color: #111827;
    color: white;
}

.seller-action-button.view:hover {
    background-color: #374151;
}

.seller-action-button.edit {
    background-color: #f59e0b;
    color: #111827;
}

.seller-action-button.edit:hover {
    background-color: #fbbf24;
}

.seller-action-button.delete {
    width: 100%;
    background-color: #fee2e2;
    color: #b91c1c;
}

.seller-action-button.delete:hover {
    background-color: #fecaca;
}


/* =========================
   PAGE ABONNEMENT
   ========================= */

.subscription-main {
    max-width: 750px;
}

.subscription-page {
    padding: 35px;
}

.subscription-heading {
    text-align: center;
    margin-bottom: 25px;
}

.subscription-heading h2 {
    font-size: 30px;
    margin-bottom: 5px;
}


/* =========================
   FORMULE ABONNEMENT
   ========================= */

.subscription-plan {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 30px;

    background-color: white;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.plan-name {
    font-size: 20px;
    font-weight: bold;
}

.plan-price strong {
    display: block;
    font-size: 30px;
    color: #16a34a;
}

.plan-price span {
    font-size: 14px;
    color: #6b7280;
}


/* =========================
   AVANTAGES
   ========================= */

.plan-features {
    list-style: none;
    margin-bottom: 25px;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}


/* =========================
   STATUT ABONNEMENT
   ========================= */

.current-subscription {
    background-color: #f8fafc;

    padding: 15px;
    border-radius: 8px;

    margin-bottom: 20px;
}

.current-subscription p {
    margin-bottom: 3px;
}


/* =========================
   ABONNEMENT ACTIF
   ========================= */

.subscription-active {
    padding: 15px;

    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;

    border-radius: 8px;
}


/* =========================
   INSTRUCTIONS PAIEMENT
   ========================= */

.payment-instructions {
    padding: 20px;
    margin-bottom: 25px;

    background-color: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
}

.payment-instructions h3 {
    margin-bottom: 12px;
}

.payment-instructions p {
    margin-bottom: 7px;
}

.payment-instructions strong {
    color: #111827;
}


/* =========================
   PAIEMENT EN ATTENTE
   ========================= */

.payment-pending {
    padding: 15px;

    background-color: #fffbeb;
    border: 1px solid #fde68a;

    border-radius: 8px;
}

.payment-pending p {
    margin-top: 7px;
}

.payment-pending strong {
    color: #92400e;
}


/* =========================
   BOUTON ABONNEMENT
   ========================= */

.subscription-button {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 9px;

    background-color: #22c55e;
    color: white;

    font-size: 17px;
    font-weight: bold;

    cursor: pointer;
}

.subscription-button:hover {
    background-color: #16a34a;
}


/* =========================
   INFORMATION PAIEMENT
   ========================= */

.payment-note {
    margin-top: 25px;
    padding: 20px;

    background-color: #f8fafc;
    border-radius: 10px;
}

.payment-note h3 {
    margin-bottom: 8px;
}

.payment-note p {
    margin-bottom: 7px;
}


/* =========================
   ADMINISTRATION
   ========================= */

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;

    background: transparent;
    padding: 0;
}

.admin-stat-card {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    padding: 20px;
}

.admin-stat-card span {
    display: block;

    color: #6b7280;
    font-size: 14px;

    margin-bottom: 5px;
}

.admin-stat-card strong {
    font-size: 30px;
    color: #111827;
}


/* =========================
   LISTE DES PAIEMENTS ADMIN
   ========================= */

.admin-payments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-payment-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;

    padding: 22px;

    background-color: white;
}

.admin-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding-bottom: 15px;
    margin-bottom: 15px;

    border-bottom: 1px solid #e5e7eb;
}

.admin-payment-header h3 {
    font-size: 20px;
}

.admin-payment-header p {
    font-size: 13px;
}

.admin-payment-amount {
    font-size: 22px;
    color: #16a34a;
}


/* =========================
   DÉTAILS PAIEMENT ADMIN
   ========================= */

.admin-payment-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-bottom: 20px;
}

.admin-payment-details div {
    background-color: #f8fafc;

    padding: 12px;

    border-radius: 8px;
}

.admin-payment-details span {
    display: block;

    color: #6b7280;
    font-size: 12px;

    margin-bottom: 3px;
}

.admin-payment-details strong {
    font-size: 14px;
    overflow-wrap: anywhere;
}


/* =========================
   PREUVE DE PAIEMENT ADMIN
   ========================= */

.admin-proof {
    margin-bottom: 20px;
}

.admin-proof a {
    display: inline-block;

    padding: 10px 15px;

    border: 1px solid #d1d5db;
    border-radius: 8px;

    text-decoration: none;

    color: #111827;

    font-weight: bold;
}

.admin-proof a:hover {
    background-color: #f3f4f6;
}


/* =========================
   ACTIONS ADMIN
   ========================= */

.admin-payment-actions {
    display: flex;
    gap: 10px;
}

.admin-payment-actions form {
    margin: 0;
}

.admin-approve-button,
.admin-reject-button {
    border: none;
    border-radius: 8px;

    padding: 11px 16px;

    cursor: pointer;

    font-weight: bold;
    font-size: 14px;
}

.admin-approve-button {
    background-color: #22c55e;
    color: white;
}

.admin-approve-button:hover {
    background-color: #16a34a;
}

.admin-reject-button {
    background-color: #fee2e2;
    color: #b91c1c;
}

.admin-reject-button:hover {
    background-color: #fecaca;
}


/* =========================
   TABLETTE
   ========================= */

/* =========================
   GALERIE PRODUIT
   ========================= */

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;

    margin-top: 12px;
}

.product-thumbnail {
    height: 90px;

    padding: 0;

    border: 2px solid transparent;
    border-radius: 8px;

    overflow: hidden;
    cursor: pointer;

    background-color: #f3f4f6;
}

.product-thumbnail:hover {
    border-color: #f59e0b;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-no-image {
    min-height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6b7280;
}

@media (max-width: 850px) {

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-payment-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        flex-wrap: wrap;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .brand {
        flex: 1;
    }

    .search-bar {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }

    .main-nav {
        gap: 12px;
    }
}


/* =========================
   MOBILE
   ========================= */

.edit-images-grid {
    grid-template-columns: repeat(3, 1fr);
}

.edit-image-item {
    height: 80px;
}

/* =========================
   MODIFICATION PRODUIT
   ========================= */

.edit-product-images {
    margin-bottom: 25px;
}

.edit-product-images h3 {
    margin-bottom: 12px;
}

.edit-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.edit-image-item {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.edit-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 600px) {
    
.product-thumbnails {
    grid-template-columns: repeat(4, 1fr);
}

.product-thumbnail {
    height: 70px;
}

.product-no-image {
    min-height: 300px;
}

    .admin-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .admin-payment-details {
        grid-template-columns: 1fr;
    }

    .admin-payment-header {
        flex-direction: column;
        gap: 10px;
    }

    .admin-payment-actions {
        flex-direction: column;
    }

    .admin-payment-actions form {
        width: 100%;
    }

    .admin-approve-button,
    .admin-reject-button {
        width: 100%;
    }

    .subscription-page {
        padding: 20px;
    }

    .subscription-plan {
        padding: 20px;
    }

    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .auth-card {
        padding: 20px;
    }

    .auth-title h2 {
        font-size: 25px;
    }

    .product-detail-image {
        min-height: 300px;
    }

    .product-detail-image img {
        min-height: 300px;
    }

    .product-detail-info h2 {
        font-size: 25px;
    }

    .detail-price {
        font-size: 23px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-button {
        font-size: 13px;
        padding: 8px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        min-height: 100px;
        font-size: 14px;
    }

    .category-icon {
        font-size: 27px;
    }

    .hero {
        padding: 30px 18px;
    }

    .hero h2 {
        font-size: 26px;
    }

    .header-container {
        width: 94%;
    }

    .brand h1 {
        font-size: 22px;
    }

    .main-nav a:not(.sell-button) {
        display: none;
    }

    .search-bar input {
        padding: 11px;
    }

    .search-bar button {
        padding: 11px 13px;
    }

    main {
        width: 94%;
        margin-top: 15px;
    }

    section {
        padding: 18px;
    }

    section h2 {
        font-size: 20px;
    }

    /* =========================
       PRODUITS VENDEUR MOBILE
       ========================= */

    .seller-product-item {
        grid-template-columns: 55px 1fr;
        gap: 10px;
        padding: 12px;
    }

    .seller-product-image {
        width: 55px;
        height: 55px;
        min-width: 55px;
        min-height: 55px;
    }

    .seller-product-image img {
        width: 55px !important;
        height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
    }

    .seller-product-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .seller-product-actions form {
        width: 100%;
    }

    .seller-action-button {
        width: 100%;
        min-width: 0;
        padding: 8px 5px;
        font-size: 12px;
    }
}

/* ==========================================
   GRILLE VENDEURS ADMIN
   ========================================== */

.admin-simple-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.admin-simple-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;

    min-width: 0;
}

.admin-simple-row > div:first-child {
    flex: 1;
}

.admin-simple-row p {
    margin: 7px 0;
}

.admin-payment-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.admin-payment-actions form {
    margin: 0;
}

/* Tablette */
@media (max-width: 1000px) {
    .admin-simple-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Téléphone */
@media (max-width: 650px) {
    .admin-simple-list {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   ABONNEMENTS ADMIN - CARTES COMPACTES
   À METTRE TOUT EN BAS DE css/style.css
===================================================== */

/* Liste en 3 colonnes sur grand écran */
.admin-payments-list{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
}


/* Carte vendeur */
.admin-payment-card{
    padding:12px !important;
    margin:0 !important;

    border:1px solid #e5e7eb !important;
    border-radius:10px !important;

    background:#ffffff !important;

    min-height:0 !important;
    height:auto !important;

    box-shadow:0 2px 8px rgba(0,0,0,.05) !important;
}


/* En-tête de la carte */
.admin-payment-header{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;

    gap:8px !important;

    padding-bottom:8px !important;
    margin-bottom:8px !important;

    border-bottom:1px solid #eef1f4 !important;
}


.admin-payment-header h3{
    font-size:14px !important;
    line-height:1.2 !important;
    margin:0 !important;
}


.admin-payment-header p{
    font-size:9px !important;
    margin:2px 0 0 !important;
    color:#8a94a3 !important;
}


.admin-payment-header strong{
    font-size:10px !important;

    padding:4px 7px !important;

    border-radius:20px !important;

    background:#eef6ff !important;
    color:#1d4ed8 !important;

    white-space:nowrap !important;
}


/* Détails du vendeur */
.admin-payment-details{
    display:grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap:5px !important;

    margin:0 0 8px !important;
}


/* Chaque mini information */
.admin-payment-details > div{
    background:#f8fafc !important;

    padding:6px 7px !important;

    border-radius:6px !important;

    min-height:42px !important;
}


/* Libellé */
.admin-payment-details span{
    display:block !important;

    font-size:8px !important;

    color:#94a3b8 !important;

    margin-bottom:2px !important;

    line-height:1.1 !important;
}


/* Valeur */
.admin-payment-details strong{
    display:block !important;

    font-size:10px !important;

    color:#1f2937 !important;

    line-height:1.2 !important;

    overflow-wrap:anywhere !important;
}


/* Actions */
.admin-payment-actions{
    display:grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap:5px !important;

    margin-top:8px !important;
}


/* Liens / boutons */
.admin-payment-actions a,
.admin-payment-actions button{
    width:100% !important;

    min-width:0 !important;

    padding:7px 5px !important;

    border-radius:6px !important;

    font-size:9px !important;

    text-align:center !important;

    line-height:1.15 !important;
}


/* =========================================
   TABLETTE
========================================= */

@media(max-width:1050px){

    .admin-payments-list{
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================
   TELEPHONE
========================================= */

@media(max-width:650px){

    .admin-payments-list{
        grid-template-columns:1fr !important;
    }

    .admin-payment-card{
        padding:10px !important;
    }

    .admin-payment-details{
        grid-template-columns:
            repeat(2, minmax(0,1fr)) !important;
    }

}

body.seller-dashboard-page .dashboard-card h3{
    margin:0 0 8px !important;

    font-size:14px !important;

    color:#0b3154 !important;
}

body.seller-dashboard-page .dashboard-card p{
    margin:4px 0 !important;

    font-size:10px !important;

    line-height:1.4 !important;

    color:#64748b !important;
}

body.seller-dashboard-page .dashboard-number{
    font-size:24px !important;

    color:#0b3154 !important;
}
