/* ADMIN PANEL (Instagram & Formularis) */
.admin-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    padding: 2rem;
    margin-bottom: 2rem;
}
.admin-card-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--garnet);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.admin-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.admin-field.full-width {
    grid-column: 1 / -1;
}
.admin-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}
.admin-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}
.admin-input:focus {
    outline: none;
    border-color: var(--garnet);
    box-shadow: 0 0 0 3px rgba(167, 16, 48, 0.1);
}
.admin-form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
}
.btn-action-primary.w-full {
    width: 100%;
}

/* Moduls: Matrícula i Alertes addicionals */
.matricula-container {
    max-width: 800px;
    margin: 0 auto;
}
.matricula-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 2px solid var(--garnet);
    box-shadow: var(--shadow-card);
    padding: 3rem;
    text-align: center;
}
.matricula-title {
    color: var(--garnet);
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.btn-matricula {
    font-size: 1.15rem;
    padding: 1rem 2.5rem;
}
.matricula-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* MODULE: INSTAGRAM */
.instagram-admin-notice { max-width: 600px; margin: 2rem auto; text-align: center; color: var(--garnet); border: 2px dashed var(--garnet); }
.instagram-empty-notice { text-align: center; max-width: 600px; margin: 0 auto; }
.instagram-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.instagram-card { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); transition: transform 0.3s ease, box-shadow 0.3s ease; text-decoration: none; border: 1px solid var(--border-color); background: var(--surface); }
.instagram-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.instagram-image-wrapper { position: relative; width: 100%; aspect-ratio: 1/1; overflow: hidden; background-color: var(--color-peguera-muted); }
.instagram-image-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.instagram-card:hover .instagram-image-wrapper img { transform: scale(1.05); }
.instagram-card-content { padding: 1.2rem; display: flex; flex-direction: column; flex-grow: 1; }
.instagram-card-date { display: block; color: var(--color-peguera-primary); font-size: 0.75rem; margin-bottom: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.instagram-card-text { margin: 0; color: var(--text-main); font-size: 0.9rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.instagram-action { margin-top: 3rem; text-align: center; }
.instagram-btn { padding: 14px 32px; font-size: 1.05rem; }

