@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/**
 * Premium Designer CSS for Church Membership & Polls.
 */

:root {
    /* HSL Color System - Logo Blue */
    --church-primary-h: 187;
    --church-primary-s: 100%;
    --church-primary-l: 40%;
    --church-primary: hsl(var(--church-primary-h), var(--church-primary-s), var(--church-primary-l));
    --church-primary-hover: hsl(var(--church-primary-h), var(--church-primary-s), calc(var(--church-primary-l) - 8%));
    --church-primary-light: hsl(var(--church-primary-h), var(--church-primary-s), 96%);
    --church-primary-glow: hsla(var(--church-primary-h), var(--church-primary-s), var(--church-primary-l), 0.15);

    --church-accent: #b2d235; /* Logo green for accent (buttons) */
    
    --church-text-dark: #3b495f; /* Text Font */
    --church-text-muted: hsl(217, 20%, 55%); /* Muted version of Text Font */
    --church-bg-light: #f6f4ee; /* Off White */
    --church-border: hsl(40, 20%, 90%);
    
    /* Semantic Colors */
    --church-success: hsl(142, 72%, 29%);
    --church-success-bg: hsl(138, 76%, 97%);
    --church-success-border: hsl(142, 60%, 90%);
    
    --church-error: hsl(0, 72%, 51%);
    --church-error-bg: hsl(0, 86%, 97%);
    --church-error-border: hsl(0, 75%, 92%);
    
    --church-warning: #e67e5a;
    --church-warning-bg: #fdf2ef;
    
    --church-info: hsl(198, 80%, 40%);
    --church-info-bg: hsl(195, 100%, 97%);

    /* Shadows & Radius */
    --church-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --church-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.03), 0 2px 4px rgba(0, 0, 0, 0.02);
    --church-shadow-lg: 0 16px 24px -4px rgba(79, 70, 229, 0.04), 0 8px 16px -4px rgba(0, 0, 0, 0.02);
    --church-shadow-xl: 0 24px 48px -12px rgba(79, 70, 229, 0.08), 0 12px 24px -8px rgba(0, 0, 0, 0.04);
    
    --church-radius: 12px;
    --church-radius-sm: 6px;
    --church-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Wrapper */
.church-form-container, 
.church-polls-container, 
.church-restricted-card,
.church-form-wrapper,
.church-meetings-list {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--church-text-dark);
    max-width: 680px;
    margin: 2.5rem auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.church-form-container *, 
.church-polls-container *, 
.church-restricted-card *,
.church-form-wrapper *,
.church-meetings-list * {
    box-sizing: border-box;
}

/* Card Styling (Premium Glassmorphic Look) */
.church-form-card, 
.church-poll-card, 
.church-restricted-card,
.church-form-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--church-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--church-shadow-xl);
    position: relative;
    overflow: hidden;
    transition: var(--church-transition);
}

.church-poll-card:hover {
    box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.12), 0 15px 30px -10px rgba(0, 0, 0, 0.05);
}

/* Headers */
.church-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--church-text-dark);
    letter-spacing: -0.02em;
}

.church-form-subtitle {
    color: var(--church-text-muted);
    font-size: 1rem;
    margin: 0 0 2.5rem 0;
    font-weight: 400;
}

/* Responsive Grid Layouts */
.church-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .church-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .church-form-card, .church-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Form Elements */
.church-form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.church-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--church-text-dark);
}

.church-form-group input[type="text"],
.church-form-group input[type="email"],
.church-form-group input[type="password"],
.church-form-group input[type="tel"],
.church-form-group select,
.church-form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid var(--church-border);
    border-radius: var(--church-radius);
    background-color: var(--church-bg-light);
    color: var(--church-text-dark);
    transition: var(--church-transition);
}

.church-form-group input:focus,
.church-form-group select:focus,
.church-form-group textarea:focus {
    outline: none;
    border-color: var(--church-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 4px var(--church-primary-glow);
}

.church-form-group textarea[readonly] {
    background-color: hsl(210, 20%, 96%);
    color: var(--church-text-muted);
    cursor: not-allowed;
    border-color: var(--church-border);
}

/* Postal Input specific loader wrapper */
.church-input-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.church-postal-loader {
    position: absolute;
    right: 1.1rem;
    width: 20px;
    height: 20px;
    border: 2px solid var(--church-border);
    border-top: 2px solid var(--church-primary);
    border-radius: 50%;
    animation: church-spin 0.8s linear infinite;
}

@keyframes church-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.church-help-text {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.775rem;
    color: var(--church-text-muted);
}

/* Buttons */
.church-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: var(--church-radius);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--church-transition);
    text-decoration: none;
    line-height: 1.25;
}

.church-btn.primary {
    background-color: var(--church-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px hsla(var(--church-primary-h), var(--church-primary-s), var(--church-primary-l), 0.25);
}

.church-btn.primary:hover {
    background-color: var(--church-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px hsla(var(--church-primary-h), var(--church-primary-s), var(--church-primary-l), 0.35);
}

.church-btn.secondary {
    background-color: #ffffff;
    border-color: var(--church-border);
    color: var(--church-text-dark) !important;
}

.church-btn.secondary:hover {
    background-color: var(--church-bg-light);
    border-color: var(--church-text-muted);
}

.church-btn:active {
    transform: translateY(1px);
}

.church-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.church-form-submit {
    margin-top: 2rem;
}

.church-form-submit .church-btn {
    width: 100%;
}

/* Message Banners */
.church-msg {
    padding: 1.1rem 1.4rem;
    border-radius: var(--church-radius);
    margin-bottom: 2rem;
    font-size: 0.925rem;
    line-height: 1.5;
    border: 1px solid transparent;
    box-shadow: var(--church-shadow-sm);
}

.church-msg ul {
    margin: 0;
    padding-left: 1.25rem;
}

.church-msg.error {
    background-color: var(--church-error-bg);
    color: var(--church-error);
    border-color: var(--church-error-border);
    border-left: 4px solid var(--church-error);
}

.church-msg.success {
    background-color: var(--church-success-bg);
    color: var(--church-success);
    border-color: var(--church-success-border);
    border-left: 4px solid var(--church-success);
}

.church-msg.warning {
    background-color: var(--church-warning-bg);
    color: var(--church-warning);
    border-color: hsl(24, 70%, 90%);
    border-left: 4px solid var(--church-warning);
}

.church-msg.info {
    background-color: var(--church-info-bg);
    color: var(--church-info);
    border-color: hsl(198, 60%, 90%);
    border-left: 4px solid var(--church-info);
}

/* Checkbox and Radio Rows */
.church-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.925rem;
}

.church-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-weight: 500;
}

.church-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--church-primary);
    cursor: pointer;
}

.church-forgot-link {
    color: var(--church-primary);
    text-decoration: none;
    font-weight: 600;
}

.church-forgot-link:hover {
    color: var(--church-primary-hover);
    text-decoration: underline;
}

.church-form-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.925rem;
    color: var(--church-text-muted);
}

.church-form-footer a {
    color: var(--church-primary);
    text-decoration: none;
    font-weight: 600;
}

.church-form-footer a:hover {
    color: var(--church-primary-hover);
    text-decoration: underline;
}

/* Restricted Card Styling */
.church-restricted-card {
    text-align: center;
}

.church-restricted-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    color: var(--church-warning);
    background: var(--church-warning-bg);
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.church-restricted-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.church-restricted-text {
    color: var(--church-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.church-restricted-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Poll UI Components */
.church-poll-card {
    margin-bottom: 2.5rem;
}

.church-poll-header {
    border-bottom: 1px solid var(--church-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
}

.church-poll-badge {
    display: inline-block;
    font-size: 0.725rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.church-poll-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    color: var(--church-text-dark);
}

/* Options List for Voting */
.church-poll-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.church-poll-option-label {
    display: flex;
    align-items: center;
    padding: 1.1rem;
    border: 1.5px solid var(--church-border);
    border-radius: var(--church-radius);
    cursor: pointer;
    transition: var(--church-transition);
    background: var(--church-bg-light);
}

.church-poll-option-label:hover {
    border-color: var(--church-primary);
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--church-shadow-md);
}

.church-poll-option-label input[type="radio"] {
    margin-right: 1.1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--church-primary);
    cursor: pointer;
}

.church-poll-option-text {
    font-weight: 600;
    font-size: 0.975rem;
}

/* Results Progress Bars */
.church-poll-bars-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.church-poll-result-row {
    position: relative;
    padding: 0.5rem 0;
}

.church-poll-result-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.church-poll-result-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.church-user-choice-badge {
    font-size: 0.725rem;
    color: var(--church-success);
    background: var(--church-success-bg);
    border: 1px solid var(--church-success-border);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 700;
}

.church-poll-bar-track {
    width: 100%;
    height: 12px;
    background-color: var(--church-border);
    border-radius: 6px;
    overflow: hidden;
}

.church-poll-bar-fill {
    height: 100%;
    background-color: var(--church-primary);
    border-radius: 6px;
    transition: width 1.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.church-poll-result-row.user-selected .church-poll-bar-fill {
    background-color: hsl(142, 60%, 45%);
}

.church-poll-result-votes {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--church-text-muted);
}

.church-poll-footer {
    font-size: 0.875rem;
    color: var(--church-text-muted);
    border-top: 1px solid var(--church-border);
    padding-top: 1.25rem;
    text-align: right;
    font-weight: 700;
}

/* Tabs and Tables (Profile / History Panel) */
.church-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--church-border);
    padding-bottom: 10px;
}

.church-tab-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--church-text-muted);
    border-radius: var(--church-radius-sm);
    transition: var(--church-transition);
}

.church-tab-btn:hover {
    color: var(--church-text-dark);
    background: var(--church-bg-light);
}

.church-tab-btn.active {
    color: var(--church-primary);
    background: var(--church-primary-light);
}

.church-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.church-table th {
    padding: 12px 16px;
    background: var(--church-bg-light);
    border-bottom: 2px solid var(--church-border);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--church-text-dark);
}

.church-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--church-border);
    font-size: 0.925rem;
    color: var(--church-text-dark);
}

.church-table tr:hover td {
    background: hsla(243, 75%, 59%, 0.01);
}

/* Meeting Specific Visual Cards */
.church-meeting-card {
    transition: var(--church-transition);
}

.church-meeting-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--church-shadow-md);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.church-poll-voted {
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.church-poll-voted {
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* ==========================================================================
   MINI WIDGET (SIDEBAR MENU DRAWER COMPATIBLE - LANDSCAPE GRID)
   ========================================================================== */
.church-widget-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: #f3f4f6;
    box-sizing: border-box;
}

.church-widget-box {
    background: #2c4a58; /* Dark background & footer */
    border: 1px solid #2d3135;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.church-widget-box.logged-in .cw-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #2d3135;
    padding-bottom: 0.75rem;
}

.church-widget-box.logged-in .cw-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--church-accent);
}

.church-widget-box.logged-in .cw-user-info {
    display: flex;
    flex-direction: column;
}

.church-widget-box.logged-in .cw-welcome-small {
    font-size: 0.7rem;
    color: var(--church-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.church-widget-box.logged-in .cw-name-large {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
}

.cw-vertical-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.cw-menu-link,
.cw-action-btn,
.cw-logout-btn {
    display: block;
    width: 100%;
    padding: 10px 8px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: var(--church-radius-sm);
    transition: var(--church-transition);
    box-sizing: border-box;
}

.cw-menu-link {
    color: #ffffff;
    background: #282d32;
    border: 1px solid #3e444b;
}

.cw-menu-link:hover,
.cw-action-btn:hover {
    color: #111827 !important;
    background: #b2d235 !important; /* Specific user requested hover color */
    border-color: #b2d235 !important;
    transform: translateY(-1px);
}

.cw-logout-btn {
    color: #ef4444;
    background: #282d32;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.cw-logout-btn:hover {
    color: #ffffff;
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-1px);
}

/* Logged Out welcome */
.church-widget-box.logged-out .cw-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.church-widget-box.logged-out .cw-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #282d32;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.church-widget-box.logged-out .cw-avatar-placeholder img {
    width: 22px;
    height: 22px;
    opacity: 0.6;
}

.church-widget-box.logged-out .cw-welcome-large {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
}

.cw-action-btn {
    color: #ffffff;
    background: #282d32;
    border: 1.5px solid #3e444b;
}

#cw-btn-login {
    background: transparent;
    border: 1.5px solid #3e444b;
}

.cw-forgot-link {
    grid-column: span 2;
    font-size: 0.725rem;
    color: var(--church-text-muted);
    text-decoration: none;
    margin-top: 8px;
    text-align: center;
    transition: var(--church-transition);
}

.cw-forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Forms states inside widget */
.cw-form-title {
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #2d3135;
    padding-bottom: 0.4rem;
}

.cw-form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.75rem;
    text-align: left;
}

.cw-form-row label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--church-text-muted);
    text-transform: uppercase;
}

.cw-input {
    background: #282d32;
    border: 1px solid #3e444b;
    color: #ffffff;
    padding: 8px 10px;
    border-radius: var(--church-radius-sm);
    font-size: 0.8rem;
    width: 100%;
    transition: var(--church-transition);
    box-sizing: border-box;
}

.cw-input:focus {
    outline: none;
    border-color: #b2d235;
    background: #2c4a58;
    box-shadow: 0 0 0 2px rgba(178, 210, 53, 0.2);
}

.cw-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 10px;
}

.cw-back-btn {
    background: transparent;
    border: none;
    color: var(--church-text-muted);
    font-weight: 700;
    font-size: 0.725rem;
    cursor: pointer;
    padding: 6px 10px;
    transition: var(--church-transition);
}

.cw-back-btn:hover {
    color: #ffffff;
}

.cw-submit-btn {
    background: #282d32;
    color: #ffffff;
    border: 1px solid #3e444b;
    padding: 8px 14px;
    border-radius: var(--church-radius-sm);
    font-weight: 700;
    font-size: 0.75rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--church-transition);
}

.cw-submit-btn:hover {
    color: #111827;
    background: #b2d235;
    border-color: #b2d235;
    transform: translateY(-1px);
}

.cw-msg {
    margin-top: 8px;
    font-size: 0.75rem;
    text-align: center;
    font-weight: 600;
}

/* Profile Form Layout */
.church-profile-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-start;
}

.church-profile-sidebar {
    flex: 0 0 240px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: var(--church-radius);
    border: 1px solid var(--church-border);
    box-shadow: var(--church-shadow-md);
}

.church-profile-content {
    flex: 1;
    min-width: 0;
}

/* Responsive Profile Layout */
@media (max-width: 768px) {
    .church-profile-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .church-profile-sidebar {
        flex: 1 1 auto;
        width: 100%;
        box-sizing: border-box;
    }
}

/* ── Meeting Results Dashboard ───────────────────────────── */
.church-results-dashboard {
    background: var(--church-surface);
    border-radius: var(--church-radius);
    padding: 2rem;
    box-shadow: var(--church-shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--church-border);
}

.church-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--church-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.church-results-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--church-text-dark);
}

.church-results-jump-wrap {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.church-results-jump-wrap label {
    font-weight: 600;
    color: var(--church-text-dark);
}

.church-results-carousel-viewport {
    position: relative;
    overflow: hidden;
    padding: 10px 0; /* Horizontal padding removed to prevent overflow peeking */
}

.church-results-carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-items: flex-start;
}

.church-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--church-primary);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--church-transition);
    box-shadow: var(--church-shadow-sm);
}

.church-carousel-nav:hover:not(:disabled) {
    background: var(--church-primary-hover);
    transform: translateY(-50%) scale(1.05);
}

.church-carousel-nav:disabled {
    background: var(--church-border);
    color: var(--church-text-muted);
    cursor: not-allowed;
    box-shadow: none;
}

.church-carousel-nav.prev {
    left: 0;
}

.church-carousel-nav.next {
    right: 0;
}

.church-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.church-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--church-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--church-transition);
}

.church-dot:hover {
    background: var(--church-text-muted);
}

.church-dot.active {
    background: var(--church-primary);
    transform: scale(1.2);
}

/* Ensure slider cards don't have bottom margins messing up alignment */
.church-results-slide {
    margin-bottom: 0 !important;
    padding: 0 50px; /* Space for arrows inside the slide */
}
