/* Chasing Delilah Ministry - Main Stylesheet (Cleaned & Optimized) */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --gold: #f39c12;
    --light-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --header-height: 80px;
    --scripture-height: 60px;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip to main content */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-to-main:focus {
    top: 6px;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav {
    background: var(--white);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

/* Brand/Logo */
.site-brand .brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.site-logo {
    height: 50px;
    width: auto;
}

.brand-text {
    line-height: 1.2;
}

.site-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.site-tagline {
    font-size: 0.9rem;
    color: var(--gold);
    margin: 0;
    font-weight: 600;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger-line {
    height: 3px;
    width: 25px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    list-style-type: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.nav-link {
    display: flex;
    align-items: baseline;
    min-height: 40px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
}

/* Dropdown menus */
.dropdown {
    position: relative;
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 10px 0;
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-top: 1px;
}

.dropdown-toggle:hover,
.dropdown.active .dropdown-toggle,
.dropdown:hover .dropdown-toggle {
    color: var(--secondary-color);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--light-gray);
    list-style: none;
    margin: 0;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu,
.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* User dropdown positioning */
.user-dropdown {
    right: 0;
    left: auto;
}

/* User menu dropdown */
.user-menu.dropdown {
    position: relative;
}

.user-menu.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
}

.dropdown-link:hover {
    background-color: var(--light-gray);
    color: var(--secondary-color);
}

.dropdown-divider {
    height: 1px;
    background: var(--light-gray);
    margin: 5px 0;
}

/* User Account Area */
.nav-account {
    margin-left: 20px;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
}

.user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
}

.user-dropdown {
    right: 0;
    left: auto;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--light-gray);
}

/* ===== SCRIPTURE BANNER ===== */
.scripture-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 15px 0;
}

.scripture-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scripture-icon {
    font-size: 1.5rem;
    color: var(--gold);
    opacity: 0.8;
}

.daily-scripture {
    flex: 1;
    margin: 0;
}

.scripture-text {
    font-style: italic;
    margin: 0;
    font-size: 1rem;
}

.scripture-reference {
    font-style: normal;
    font-weight: 600;
    color: var(--gold);
    margin-left: 10px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - var(--header-height) - var(--scripture-height));
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Mission Section */
.mission-section {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.mission-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== POSTS & BLOG ===== */
.featured-posts {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.post-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta i {
    margin-right: 5px;
}

.post-scripture {
    font-weight: bold;
    color: var(--gold);
}

.post-title {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--secondary-color);
}

.post-excerpt {
    margin: 15px 0;
    color: var(--text-light);
    line-height: 1.6;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.read-more-btn {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary-color);
}

.read-count {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-author {
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== BLOG PAGE SPECIFIC ===== */
.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.blog-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.blog-main {
    padding: 60px 0;
    background-color: #fafafa;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.blog-content {
    background: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Blog Filters */
.blog-filters {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
}

.search-group {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.search-btn {
    padding: 12px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: var(--primary-color);
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.category-select {
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
}

.filter-btn {
    padding: 12px 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.filter-btn:hover {
    background: #e67e22;
}

.clear-filters {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.clear-filters:hover {
    text-decoration: underline;
}

/* Blog Posts */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--white);
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pagination-link {
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-link:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.pagination-current {
    padding: 10px 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 6px;
    font-weight: 600;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-posts-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ===== SIDEBAR ===== */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--gold);
    padding-bottom: 10px;
}

.widget-description {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Newsletter Widget */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input {
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.newsletter-btn {
    padding: 12px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-color);
}

/* Categories Widget */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    border-bottom: 1px solid var(--light-gray);
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--secondary-color);
}

.category-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Popular Posts Widget */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.popular-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.popular-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: var(--secondary-color);
}

.popular-post-meta {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Prayer Widget */
.prayer-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.prayer-btn:hover {
    background: #c0392b;
}

.prayer-btn i {
    margin-right: 8px;
}

/* Scripture Widget */
.daily-scripture-sidebar {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8f4fd 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    margin: 0;
}

.daily-scripture-sidebar .scripture-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-dark);
}

.daily-scripture-sidebar .scripture-reference {
    font-weight: 600;
    color: var(--secondary-color);
    font-style: normal;
}

/* ===== CTA SECTIONS ===== */
.cta-sections {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.cta-card {
    text-align: center;
    padding: 40px 30px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== STORY SECTION ===== */
.story-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== ABOUT PAGE SPECIFIC ===== */
.about-content section {
    margin-bottom: 3rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.vision-box, .mission-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2c5aa0;
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.offering-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 3px solid #ffd700;
}

.focus-areas ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.focus-areas li {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    border-left: 3px solid #2c5aa0;
    margin-bottom: 0.5rem;
}

.invitation {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.invitation h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
}

/* ===== PRAYER REQUEST FORMS ===== */
.form-container {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"], 
input[type="email"], 
input[type="tel"], 
textarea, 
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.submit-btn {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #0056b3;
}

.errors {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.required {
    color: #dc3545;
}

.privacy-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Prayer Thank You Page */
.thank-you-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.confirmation-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    text-align: left;
}

.confirmation-details h3 {
    margin-top: 0;
    color: #007bff;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: bold;
    color: #495057;
}

.next-steps {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.next-steps h3 {
    color: #1976d2;
    margin-top: 0;
}

.next-steps ul {
    margin: 10px 0;
    padding-left: 20px;
}

.action-buttons {
    margin-top: 30px;
}

.scripture {
    font-style: italic;
    color: #666;
    margin: 25px 0;
    padding: 20px;
    background: #f7f7f7;
    border-left: 4px solid #28a745;
}

.footer-note {
    margin-top: 30px;
    font-size: 14px;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* ===== ADMIN LOGIN PAGE ===== */
.admin-login-page {
    min-height: calc(100vh - var(--header-height) - var(--scripture-height));
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #34495e 100%);
    padding: 60px 0;
    display: flex;
    align-items: center;
}

.admin-login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.admin-login-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid #e0e0e0;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.admin-logo i {
    font-size: 2rem;
    color: var(--white);
}

.admin-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.admin-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.admin-login-form {
    margin-bottom: 40px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.label-icon {
    font-size: 1rem;
    color: var(--secondary-color);
    width: 18px;
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--secondary-color);
}

.admin-login-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.security-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.notice-content {
    display: flex;
    gap: 15px;
}

.notice-icon {
    color: #856404;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.notice-text strong {
    color: #856404;
    display: block;
    margin-bottom: 5px;
}

.notice-text p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.back-to-site {
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--secondary-color);
}

.security-features {
    color: var(--white);
    padding: 0 20px;
}

.features-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--gold);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.security-feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

/* ===== TABLES ===== */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.table tr:hover {
    background: #f8f9fa;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-color);
    color: var(--white);
    margin-top: auto;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 200px 200px 300px;
    gap: 40px;
}

.footer-section {
    /* Base footer section styles */
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gold);
    font-weight: 600;
}

.about-section {
    max-width: 350px;
}

.footer-description {
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.social-link.facebook:hover {
    background: #3b5998;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.instagram:hover {
    background: #e4405f;
}

.social-link.youtube:hover {
    background: #ff0000;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold);
    padding-left: 5px;
}

.newsletter-section {
    /* Specific to newsletter section */
}

.newsletter-description {
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-newsletter-form {
    margin-bottom: 30px;
}

.newsletter-input-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.newsletter-email-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 1rem;
    background: var(--white);
    color: var(--text-dark);
}

.newsletter-email-input:focus {
    outline: none;
}

.newsletter-email-input::placeholder {
    color: var(--text-light);
}

.newsletter-submit-btn {
    padding: 12px 20px;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.newsletter-submit-btn:hover {
    background: #e67e22;
}

.contact-info {
    /* Contact information styles */
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item i {
    color: var(--gold);
    width: 20px;
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.contact-item a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    /* Copyright section styles */
}

.copyright p {
    margin: 0 0 5px 0;
    opacity: 0.8;
}

.ministry-verse {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--gold);
    opacity: 0.9;
}

.footer-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.built-with {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.admin-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.admin-link:hover {
    opacity: 1;
}

/* ===== UTILITY CLASSES ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}

.alert i {
    font-size: 1.1rem;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content,
    .story-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .about-section {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }
    
    .newsletter-section {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-sidebar {
        order: -1;
    }
    

    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .focus-areas ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .dropdown-toggle {
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin-left: 20px;
        margin-top: 10px;
        border-radius: 8px;
        list-style: none;
    }
    
    .dropdown-menu li {
        list-style: none;
        list-style-type: none;
    }
    
    .nav-account {
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--light-gray);
        width: 100%;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .scripture-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .scripture-text {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .blog-post-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-image {
        order: -1;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .blog-content {
        padding: 25px;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-group {
        min-width: auto;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .admin-login-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 20px;
    }
    
    .admin-login-container {
        padding: 40px 30px;
    }
    
    .admin-title {
        font-size: 1.8rem;
    }
    
    .security-features {
        padding: 0;
    }
    
    .security-feature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .post-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.4rem;
    }
    
    .site-tagline {
        font-size: 0.8rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .footer-main {
        padding: 30px 0 20px;
    }
    
    .newsletter-input-group {
        flex-direction: column;
        border-radius: 0;
    }
    
    .newsletter-email-input {
        border-radius: 8px 8px 0 0;
    }
    
    .newsletter-submit-btn {
        border-radius: 0 0 8px 8px;
        padding: 15px;
    }
    
    .ministry-verse {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .blog-main {
        padding: 30px 0;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .admin-login-page {
        padding: 30px 0;
    }
    
    .admin-login-wrapper {
        margin: 10px;
    }
    
    .admin-login-container {
        padding: 30px 20px;
    }
    
    .admin-title {
        font-size: 1.6rem;
    }
    
    .features-title {
        font-size: 1.5rem;
    }
    
    .thank-you-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8em;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .scripture-banner,
    .site-footer,
    .back-to-top,
    .alert,
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    body {
        background: white;
    }
}

/* ===== ACCESSIBILITY & PREFERENCES ===== */
@media (prefers-contrast: high) {
    .footer-links a:hover {
        text-decoration: underline;
    }
    
    .social-link {
        border: 2px solid var(--white);
    }
    
    .back-to-top {
        border: 2px solid var(--white);
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .social-link,
    .footer-links a,
    .newsletter-submit-btn,
    .post-card,
    .btn,
    .nav-link {
        transition: none;
    }
    
    .loading::after {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}


/* Enhanced Prayer Wall Styles */
.prayer-wall-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.prayer-wall-content {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prayer-wall-actions {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
}

.actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.actions-header h2 {
    color: var(--primary-color);
    margin: 0;
}

.prayer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.prayer-wall-entries {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prayer-entry {
    background: #fafafa;
    border: 1px solid var(--light-gray);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.prayer-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.prayer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.prayer-user {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.user-info h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.prayer-date {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.prayer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.prayer-status.active {
    background: #e3f2fd;
    color: #1976d2;
}

.prayer-status.answered {
    background: #e8f5e8;
    color: #2e7d32;
}

.prayer-status.urgent {
    background: #ffebee;
    color: #c62828;
}

.prayer-content {
    margin-bottom: 20px;
}

.prayer-request {
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.prayer-update {
    background: var(--white);
    border-left: 4px solid var(--gold);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.answered-prayer {
    border-left-color: #4caf50;
}

.prayer-update i {
    color: var(--gold);
    margin-right: 8px;
}

.answered-prayer i {
    color: #4caf50;
}

.prayer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.prayer-actions {
    display: flex;
    gap: 15px;
}

.prayer-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 2px solid var(--light-gray);
    background: var(--white);
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.prayer-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.prayed-btn {
    background: var(--gold) !important;
    color: var(--white) !important;
    border-color: var(--gold) !important;
}

.category-tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.prayer-wall-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.quick-prayer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.prayer-tips {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.tip-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tip-item p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.modal-overlay.show {
    display: block;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--light-gray);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 30px;
}

.login-prompt {
    text-align: center;
}

.login-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.login-prompt h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.login-prompt p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.login-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 25px;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.character-count {
    text-align: right;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 5px;
}

.encouragement-guidelines {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid var(--secondary-color);
}

.encouragement-guidelines h5 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.encouragement-guidelines ul {
    margin: 0;
    padding-left: 20px;
}

.encouragement-guidelines li {
    color: var(--text-light);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .prayer-wall-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .prayer-wall-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .prayer-wall-content {
        padding: 25px;
    }
    
    .actions-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .prayer-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .prayer-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .prayer-status {
        align-self: flex-start;
    }
    
    .prayer-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prayer-actions {
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .login-actions {
        flex-direction: column;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .prayer-wall-content {
        padding: 20px;
    }
    
    .prayer-entry {
        padding: 20px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prayer-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}