
/* --- RESET & WRAPPER --- */
.users-page-wrapper {
--accent: #963a5e; /* Fallback accent colour */
--text: #2d3436;
--bg-light: #f9f9f9;
background-color: var(--bg-light);
min-height: 100vh;
font-family: inherit;
margin-bottom: 30px;
}

.chefs-container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}

/* --- HEADER --- */
.chefs-header {
text-align: center;
margin-bottom: 50px;
}
.chefs-title {
font-size: 2.5rem;
font-weight: 800;
color: var(--text);
margin-bottom: 10px;
}
.chefs-subtitle {
color: #636e72;
font-size: 1.1rem;
}

/* --- GRID --- */
.chefs-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 30px;
}

/* --- CARD --- */
.chef-card {
background: #fff;
border-radius: 20px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
overflow: hidden;
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
}
.chef-card:hover { transform: translateY(-8px); }

.chef-card-top {
position: relative;
height: 220px;
}
.chef-img {
width: 100%;
height: 100%;
object-fit: cover;
}

.chef-overlay-stats {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.7));
padding: 20px 15px 10px;
display: flex;
gap: 15px;
color: white;
}
.overlay-stat { display: flex; flex-direction: column; font-size: 0.75rem; }
.overlay-stat strong { font-size: 1rem; }

.chef-card-body {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
}

.chef-identity {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.chef-identity a { text-decoration: none; color: var(--text); }
.chef-name { font-size: 1.2rem; font-weight: 700; margin: 0; }

.chef-languages { display: flex; gap: 5px; }
.lang-flag svg, .lang-flag img { width: 18px; height: auto; }

.chef-description {
font-size: 0.9rem;
color: #636e72;
line-height: 1.5;
margin-bottom: 20px;
flex-grow: 1;
}

/* --- BUTTONS --- */
.chef-actions {
display: flex;
gap: 10px;
align-items: center;
}
.btn-main {
flex-grow: 1;
text-align: center;
padding: 10px;
border-radius: 12px;
font-weight: 600;
text-decoration: none;
transition: 0.2s;
}
.btn-subscribe { background: var(--accent); color: white; border: 1px solid var(--accent); }
.btn-unsubscribe { background: #eee; color: #333; border: 1px solid #963a5e }

.btn-icon {
width: 42px;
height: 42px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: rgb(254, 251, 251);
color: var(--text);
}

/* --- PAGINATION --- */
.custom-pagination {
margin-top: 50px;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
}
.pag-numbers { display: flex; gap: 8px; }
.pag-num, .pag-arrow {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: white;
border-radius: 10px;
text-decoration: none;
color: var(--text);
font-weight: 600;
border: 1px solid #eee;
}
.pag-num.active { background: var(--accent); color: white; border-color: var(--accent); }

@media (max-width: 600px) {
.chefs-title { font-size: 1.8rem; }
.chefs-grid { grid-template-columns: 1fr; }
}