/* sermons.css — simple clean modern styles for sermons page */
#sermons-list { max-width:1100px; margin:40px auto; padding:20px; box-sizing:border-box; }
.sermon-player { margin:0 auto 20px; display:flex; justify-content:center; }
.sermons-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.sermon-card { background:#fff; border-radius:10px; box-shadow:0 6px 18px rgba(15,23,42,0.06); padding:16px; display:flex; flex-direction:column; gap:12px; border:1px solid rgba(15,23,42,0.03); }
.sermon-card img{ width:100%; height:150px; object-fit:cover; border-radius:6px; background:#f6f8fa; }
.sermon-card h3{ margin:0; font-size:1.05rem; color:#0f172a; }
.sermon-card p{ margin:0; color:#475569; font-size:0.95rem; line-height:1.4; flex:1; }
.sermon-actions{ display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px; }
.btn{ background:#0a6cff; color:#fff; border:none; padding:8px 12px; border-radius:8px; cursor:pointer; font-weight:600; transition:background .15s ease; }
.btn.secondary{ background:transparent; color:#0a6cff; border:1px solid rgba(10,108,255,0.12); }
.btn:disabled{ opacity:0.5; cursor:not-allowed; }
.pagination{ display:flex; align-items:center; justify-content:center; margin-top:22px; gap:10%; }
.page-indicator{ text-align:center; color:#0f172a; font-weight:600; }
.page-controls{ display:flex; gap:8px; }
.small { font-size:0.85rem; color:#64748b; }
.login-form-container { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:40px 20px; }
.login-form-container h2 { color:#0f172a; margin:0 0 12px 0; }
.login-input { padding:12px 16px; border:1px solid #cbd5e1; border-radius:8px; font-size:1rem; width:100%; max-width:300px; box-sizing:border-box; }
.login-input:focus { outline:none; border-color:#0a6cff; box-shadow:0 0 0 3px rgba(10,108,255,0.1); }
.login-btn { background:#0a6cff; color:#fff; border:none; padding:12px 24px; border-radius:8px; cursor:pointer; font-weight:600; font-size:1rem; transition:background .15s ease; }
.login-btn:hover { background:#0855d4; }
.login-btn:disabled { opacity:0.5; cursor:not-allowed; }
.login-error { color:#dc2626; font-size:0.95rem; text-align:center; max-width:300px; }
.logout-btn { background:#3489ed; color:#fff; border:none; padding:8px 16px; border-radius:6px; cursor:pointer; font-weight:600; font-size:0.9rem; transition:background .15s ease; margin-bottom:16px; }
.logout-btn:hover { background:#b91c1c; }
@media (max-width:600px){ .sermons-grid{ grid-template-columns:1fr; } .sermon-card img{ height:120px; } .pagination{align-items:stretch; } .page-controls{ justify-content:space-between; } }
