@import url(navbar.css);
:root{
  --dark-blue: #1e2630;
  --main-blue: #1f4396;
  --main-blue2: #2C5FFF;
  --light-blue: #40739e;
}

.whiteLink {
    color: white; 
}
.whiteLink:Hover {
    color: #e5e5e5;
    text-decoration: none;  
}

/* Forum Table */
.forum-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #faf9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.forum-table thead {
    background: #bb377d;
    color: #fff;
}

.forum-table th, .forum-table td {
    padding: 15px 18px;
    text-align: left;
}

.forum-table tbody tr:nth-child(odd) {
    background: #f5e3f1;
}
.forum-table tbody tr:nth-child(even) {
    background: #fff;
}

.forum-table tr:hover td {
    background: #fbe8f7;
    transition: 0.2s;
}

/* Forum section general styles */
section.container.bg-white {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 40px 30px 30px 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Bouton primaire */
.btn-primary {
    display: inline-block;
    background: #bb377d;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #4a1f47;
}

.forum-posts {
    margin-bottom: 30px;
}
.forum-post {
    background: #faf9fa;
    border-radius: 7px;
    margin-bottom: 16px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-left: 4px solid #bb377d;
}
.forum-post-author {
    font-weight: bold;
    color: #bb377d;
    margin-bottom: 8px;
}
.forum-post-content {
    font-size: 1.05em;
    margin-bottom: 8px;
}
.forum-post-date {
    color: #aaa;
    font-size: 0.9em;
    text-align: right;
}
.forum-tag {
    display: inline-block;
    background: #bb377d;
    color: #fff;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: .88em;
    margin-left: 7px;
}
.btn-small {
    display: inline-block;
    background: #4a1f47;
    color: #fff;
    font-size: 0.96em;
    padding: 4px 12px;
    border-radius: 3px;
    text-decoration: none;
    margin-right: 5px;
    margin-bottom: 4px;
    transition: background 0.2s;
}
.btn-small:hover {
    background: #bb377d;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap: 32px;
    margin-top: 40px;
}
.product-card {
    background: #faf9fa;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    padding: 0 0 20px 0;
}
.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid #eee;
}
.product-info {
    padding: 18px 20px 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-info h3 {
    margin-bottom: 8px;
    color: #4a1f47;
}
.product-tag {
    display: inline-block;
    background: #bb377d;
    color: #fff;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: .88em;
    margin-bottom: 8px;
}
.product-buy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}
.product-price {
    color: #bb377d;
    font-size: 1.15em;
    font-weight: bold;
}
.shop-product-detail {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    margin-bottom: 24px;
}
@media (max-width: 700px) {
    .shop-product-detail {
        flex-direction: column;
        gap: 18px;
    }
    .shop-product-detail img {
        margin-right: 0;
        margin-bottom: 18px;
        float: none !important;
    }
}
.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 26px;
    margin-top: 36px;
}
.admin-card {
    background: #faf9fa;
    border: 2px solid #bb377d33;
    border-radius: 10px;
    text-align: center;
    padding: 36px 18px 30px 18px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    color: #4a1f47;
    font-weight: bold;
    text-decoration: none;
    transition: border .2s, box-shadow .2s, transform .15s;
}
.admin-card:hover {
    border: 2px solid #bb377d;
    box-shadow: 0 6px 24px rgba(187,55,125,0.09);
    transform: translateY(-4px) scale(1.03);
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 36px 0 0 0;
}
.stats-card {
    flex: 1 1 240px;
    background: #faf9fa;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    padding: 32px 28px;
    min-width: 210px;
}
.stats-card h3 {
    color: #bb377d;
    margin-bottom: 12px;
}
.stats-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.stats-card li {
    margin-bottom: 8px;
    font-size: 1.1em;
}
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin: 36px 0 0 0;
}
.stats-card {
    flex: 1 1 240px;
    background: #faf9fa;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    padding: 32px 28px;
    min-width: 210px;
}
.stats-card h3 {
    color: #bb377d;
    margin-bottom: 12px;
}
.stats-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.stats-card li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.stats-top-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-top: 18px;
}
.stats-top-card {
    flex: 1 1 240px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
    padding: 22px 18px;
    min-width: 210px;
    margin-bottom: 18px;
}
.stats-top-card b {
    color: #bb377d;
}
.stats-top-card ol {
    margin: 0;
    padding-left: 18px;
}
.stats-top-card li {
    margin-bottom: 7px;
}
.breadcrumb-fc {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.07em;
    margin-bottom: 22px;
    margin-top: 16px;
    background: none;
    padding: 0;
}
.breadcrumb-fc a {
    color: #bb377d;
    text-decoration: none;
    font-weight: 500;
    transition: color .12s;
}
.breadcrumb-fc a:hover {
    color: #842452;
    text-decoration: underline;
}
.breadcrumb-fc .breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-fc .breadcrumb-item + .breadcrumb-item:before {
    content: "›";
    margin: 0 9px;
    color: #bb377d66;
    font-weight: bold;
    font-size: 1.07em;
}
.breadcrumb-fc .breadcrumb-current {
    color: #842452;
    font-weight: 600;
}
.user-actions-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-fc {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 7px 18px;
    font-size: 1em;
    transition: background .13s, color .13s, box-shadow .13s;
    box-shadow: 0 2px 8px #e8b8d720;
    outline: none !important;
    text-decoration: none;
    cursor: pointer;
}
.btn-fc-view {
    background: #f4ebfa;
    color: #7f38b5;
}
.btn-fc-view:hover {
    background: #e5dbfa;
    color: #571b83;
}
.btn-fc-admin {
    background: #fbe5f2;
    color: #bb377d;
}
.btn-fc-admin:hover {
    background: #ffd4ee;
    color: #842452;
}
.btn-fc-danger {
    background: #ffd7e3;
    color: #bb377d;
}
.btn-fc-danger:hover {
    background: #ffbfd2;
    color: #93144a;
}
.btn-fc-ban {
    background: #ffe6e9;
    color: #e0477d;
}
.btn-fc-ban:hover {
    background: #ffd0da;
    color: #ad1c43;
}
