/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background: linear-gradient(
        rgba(0, 0, 0, 0.2), 
        rgba(0, 0, 0, 0.2)
    ), url('/static/images/white_wood.jpg') repeat;
    background-size: auto;
    background-attachment: fixed;
}

/* Content Overlay for About Us Page */

/* Specific styles for Video List */
.about-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff; /* White text for visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Subtle shadow */
    margin-bottom: 30px;
}
.content-overlay {
    background: rgba(255, 255, 255, 0.85); /* White with slight transparency */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 20px auto;
    text-align: left; /* Retain original text alignment for readability */
    color: #333; /* Ensure text is visible over the background */
}

.content-overlay h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff; /* Add a splash of color to headings */
}

.content-overlay p {
    line-height: 1.6; /* Better readability for paragraphs */
}



/* Hero Banner */
.hero-banner {
    background: linear-gradient(
            rgba(255, 255, 255, 0.9),
            rgba(240, 240, 240, 0.9)
        ),
        url('/media/home/hero_background.jpeg') center/cover no-repeat;
    padding: 60px 20px;
    text-align: center;
}

.hero-banner img.church-logo {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    border: 3px solid #007bff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-banner h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 20px;
    color: #007bff;
}

.hero-banner p {
    font-size: 1.2rem;
    margin: 0 auto;
    max-width: 600px;
    color: #333;
}

/* Profile Overview Section */
.profile-overview-section {
    padding: 30px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0;
}

.profile-picture-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.profile-picture {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
    object-fit: cover;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.profile-picture.default-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.25);
}

.profile-details {
    flex-grow: 1;
    text-align: left;
}

.profile-details h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.button-group {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.button-group .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Responsive profile section */
@media (max-width: 768px) {
    .profile-overview-section {
        padding: 20px 15px;
    }
    
    .profile-overview-section .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-picture-container {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-details {
        text-align: center;
    }
    
    .button-group {
        justify-content: center;
    }
}

/* Account page profile picture */
.account-profile-picture {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid #007bff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-profile-picture:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

.section-container.about-section {
    background: linear-gradient(135deg, #6285ed, #ebe2e5); /* Gradient overrides white */
    border-radius: 12px; /* Retain the same shape as section-container */
    box-shadow: inherit; /* Reuse box-shadow from section-container */
}

/* Why Join Us Section */
.why-join-section {
    background: linear-gradient(135deg, #d9eaf5, #c2ddee); /* Softer complementary gradient */
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 40px 20px;
    text-align: center;
}

/* Explore Section */
.explore-section {
    position: relative;
    padding: 40px 20px;
    background: linear-gradient(135deg, #003366, #0056b3); /* Updated gradient */
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.explore-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for better contrast */
    border-radius: 12px;
    z-index: 0;
}

.explore-section h2 {
    position: relative;
    z-index: 1;
    color: #ffffff; /* White text for visibility */
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Improved text visibility */
}

.explore-section p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.9); /* Light text color */
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Subtle shadow for readability */
}

.explore-section .card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4);
}

/* Card for the entire affiliated ministries section */
.affiliated-ministries-card {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    background: url('/static/images/green.jpg') center center/cover no-repeat;
}

/* Ministry-specific card styling */
.ministry-card-ministry {
    background-color: #f6f7f6;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensures all cards are uniform in height */
}

.ministry-card-ministry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Ministry logo container */
.ministry-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    height: 80px; /* Keeps logos uniform */
}

.ministry-card-logo {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Ministry text styles */
.ministry-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.ministry-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Primary Button*/
/* Primary Button - Filled by Default */
.ministry-btn-primary {
    background-color: #007bff; /* Solid blue background */
    border: 2px solid #007bff; /* Matching border color */
    color: #ffffff; /* White text */
    text-decoration: none;
    padding: 8px 16px; /* Rectangle button size */
    border-radius: 5px; /* Slight rounding */
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and transform effect */
}

.ministry-btn-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff; /* Keep white text */
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

/* Outline Button - Transparent Background */
.ministry-btn-outline {
    background-color: #0056b3; /* Transparent by default */
    border: 3px solid #030303; /* Blue border */
    color: #ffffff; /* Blue text */
    text-decoration: black;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover and transform effect */
}

.ministry-btn-outline:hover {
    background-color: #faac52; /* Filled blue on hover */
    color: #030303; /* White text */
    transform: scale(1.05); /* Subtle scale effect */
}



/* Footer */
footer {
    background-color: #003366; /* Match darker gradient */
    color: #f8f9fa;
    padding: 20px 0;
    text-align: center;
}

/* Tabs Navigation for About Page */
.nav-tabs {
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.8); /* Lighter color for inactive tabs */
    background: rgba(0, 0, 0, 0.5); /* Subtle dark background */
    margin: 0 5px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Minimal border */
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    background: #007bff; /* Blue for active tab */
    color: #fff;
    font-weight: bold;
    border: none;
}

.nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1); /* Slight lightening on hover */
    color: #fff;
}

/* Footer and Buttons */
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #0056b3; /* Slightly darker blue on hover */
}

.footer {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 2px solid #007bff;
}

.card {
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
}

.card-body {
    padding: 2rem;
}

.btn-outline-primary {
    border-radius: 20px;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
}

.btn-primary {
    border-radius: 20px;
    font-size: 1rem;
    padding: 0.7rem 2rem;
}

/* Logo Styling */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    flex-direction: column;
}

.logo-container img {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid #f8f9fa;
}

.logo-container h1 {
    margin-top: 15px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(
            to bottom, 
            rgba(255, 255, 255, 0.9), 
            rgba(245, 245, 245, 0.9)
        ), 
        url('/media/home/hero_background.jpeg') center/cover no-repeat;
}

.hero-section img {
    max-width: 300px;
    height: auto;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
    margin-top: 20px;
    font-size: 2.8rem;
    font-weight: bold;
    color: #007bff;
}

.hero-section p.lead {
    font-size: 1.2rem;
    color: #555;
}

.hero-section .btn-primary,
.hero-section .btn-outline-primary {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
    .hero-section img {
        max-width: 100px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* About Us Section */
.bg-light {
    background-color: #f8f9fa !important;
    border-radius: 12px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Bulletin Board Section */
.cork-board {
    background: url('/static/images/corkboard.jpeg') no-repeat center center;
    background-size: cover;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    border: 15px solid #8B4513;
    border-radius: 20px;
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-note {
    background: #fffa90;
    width: 220px;
    height: 280px;
    padding: 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
    transform: rotate(-2deg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.sticky-note:hover {
    transform: rotate(0deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Explore and Affiliated Ministries Section */
.explore-section,
.affiliated-ministries-section {
    position: relative;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #0056b3, #003366);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

/* Social Media Section Enhancements */
.social-media-section {
    background: rgba(0, 0, 0, 0.7); /* Darker semi-transparent background for better contrast */
    padding: 30px 20px;
    border-radius: 12px;
    color: #ffffff; /* Pure white text color for maximum contrast */
    margin-top: 20px;
    text-align: center;
    backdrop-filter: blur(2px); /* Add subtle blur effect */
}

.social-media-section h2 {
    color: #ffffff; /* Pure white color for the heading */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Strong shadow for better visibility */
    font-weight: bold;
}

.social-media-section .btn-outline-primary {
    color: #ffffff; /* White text for visibility */
    border-color: #ffffff; /* White border for better contrast */
    background-color: rgba(0, 123, 255, 0.8); /* Light blue with transparency */
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

.social-media-section .btn-outline-primary:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #ffffff; /* Keep text white */
    border-color: #0056b3;
}

/* Page Subtitle Styling for Better Readability */
.page-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50; /* Dark blue-gray for excellent readability */
    background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 10px auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: none; /* Remove any text shadow */
}


/* Specific styles for Video List */
.video-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff; /* White text for visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Subtle shadow */
    margin-bottom: 30px;
}

/* Video Container */
.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Video Card */
.video-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for separation */
    overflow: hidden; /* Ensures content stays within bounds */
    width: 320px; /* Fixed width for uniformity */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4); /* Slight lift effect on hover */
}

/* Video Thumbnail */
.video-thumbnail iframe {
    width: 100%; /* Ensures the video spans the full width of the card */
    height: 180px; /* Fixed height to maintain aspect ratio */
    object-fit: cover; /* Ensures the video content fits within the frame */
    border: none; /* Removes any default borders */
    border-radius: 12px 12px 0 0; /* Matches the top corners of the card */
}

/* Card Title */
.video-card h5 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
    margin: 15px 10px 10px; /* Adds spacing around the title */
    text-align: center;
}

/* Card Description */
.video-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0 10px 15px; /* Adds spacing around the description */
    text-align: center;
}

/* Social and Action Buttons */
.video-card .btn {
    margin: 5px;
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Primary Button */
.video-card .btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: none;
}

.video-card .btn-primary:hover {
    background-color: #0056b3;
}

/* Outline Button */
.video-card .btn-outline-primary {
    border: 2px solid #007bff;
    color: #007bff;
}

.video-card .btn-outline-primary:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .video-card {
        width: 100%; /* Cards will span the full width on smaller screens */
    }

    .video-thumbnail iframe {
        height: 200px; /* Slightly taller thumbnails for better visibility */
    }
}

.video-frame {
    max-width: 960px;
    background-color: #000; /* TV-like black background */
    border-radius: 25px; /* Rounded corners for TV effect */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); /* Shadow for depth */
    padding: 20px; /* Padding around the video */
    position: relative;
}

.video-inner {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 12px; /* Slight rounding inside */
}

.video-inner iframe,
.video-inner video {
    width: 100%;
    height: 540px; /* Larger video height */
    border: none; /* Remove iframe border */
}

.video-detail-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    margin-top: 20px;
}

.video-detail-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 1rem;
}

.video-detail-text {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.5rem;
}



/* Add spacing and styling for the upload button */
.upload-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.upload-btn:hover {
    background-color: #0056b3;
}

/* Instagram-Style Authentication Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-wrapper {
    width: 100%;
    max-width: 380px;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 16px;
    text-align: center;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-logo {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.auth-subtitle {
    color: #737373;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.4;
}

.auth-form {
    margin-bottom: 24px;
}

/* Instagram-Style Floating Labels */
.auth-input-group {
    position: relative;
    margin-bottom: 16px;
}

.auth-input {
    width: 100%;
    padding: 14px 16px 6px 16px;
    border: 1px solid #dbdbdb;
    border-radius: 8px;
    background: #fafafa;
    font-size: 14px;
    color: #262626;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.auth-label {
    position: absolute;
    left: 16px;
    top: 14px;
    font-size: 14px;
    color: #8e8e8e;
    font-weight: 400;
    transition: all 0.2s ease;
    pointer-events: none;
    transform-origin: left;
}

/* When input is focused or has content */
.auth-input:focus,
.auth-input:not(:placeholder-shown) {
    border-color: #0095f6;
    background: #ffffff;
    padding-top: 22px;
    padding-bottom: 6px;
}

.auth-input:focus + .auth-label,
.auth-input:not(:placeholder-shown) + .auth-label {
    transform: translateY(-10px) scale(0.75);
    color: #0095f6;
    font-weight: 600;
}

.auth-input:focus {
    box-shadow: 0 0 0 1px #0095f6;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-btn-primary {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: white;
}

.auth-btn-primary:hover {
    background: linear-gradient(45deg, #e082ea, #e44658);
    transform: translateY(-1px);
}

.auth-btn-google {
    background: #ffffff;
    color: #757575;
    border: 1px solid #dadce0;
}

.auth-btn-google:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.auth-google-icon {
    width: 18px;
    height: 18px;
}

.auth-divider {
    position: relative;
    margin: 24px 0;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 16px;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: #dbdbdb;
}

.auth-divider-text {
    color: #8e8e8e;
    font-size: 13px;
    font-weight: 600;
    background: #ffffff;
    padding: 0 8px;
}

.auth-forgot {
    text-align: center;
    margin-top: 16px;
}

.auth-forgot a {
    color: #00376b;
    text-decoration: none;
    font-size: 12px;
}

.auth-forgot a:hover {
    color: #1877f2;
    text-decoration: underline;
}

.auth-terms {
    color: #8e8e8e;
    font-size: 12px;
    text-align: center;
    margin: 16px 0;
    line-height: 1.4;
}

.auth-signup-card {
    padding: 24px;
}

.auth-signup-text {
    color: #262626;
    font-size: 14px;
    margin: 0;
}

.auth-signup-link {
    color: #0095f6;
    text-decoration: none;
    font-weight: 600;
}

.auth-signup-link:hover {
    color: #1877f2;
    text-decoration: underline;
}

.auth-back {
    text-align: center;
    margin-top: 16px;
}

.auth-back-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
}

.auth-back-link:hover {
    color: white;
    text-decoration: underline;
}

.auth-errors {
    margin-bottom: 16px;
}

.auth-error {
    background: #fed7d7;
    color: #c53030;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    border: 1px solid #feb2b2;
}

.auth-success {
    background: #c6f6d5;
    color: #2d7d32;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    border: 1px solid #9ae6b4;
}

/* Responsive Design */
@media (max-width: 480px) {
    .auth-container {
        padding: 16px;
    }
    
    .auth-card {
        padding: 24px;
        max-width: 100%;
    }
    
    .auth-logo {
        font-size: 1.8rem;
    }
}
/* Removed conflicting blog card styles - now using template-based CSS */


/* Search app*/
.search-result {
    background: #fff; /* Or light semi-transparent overlay */
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-result:hover {
    background: #f7f7f7;
    cursor: pointer;
}
.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-header {
    font-weight: bold;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-link {
    color: #007bff;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
}
/* Event Card Styles */
.event-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-card h5 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.event-card p {
    font-size: 1rem;
    color: #555555;
    margin-bottom: 10px;
}

.event-card .btn {
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.event-card .btn-warning {
    background-color: #ffc107;
    color: #fff;
}

.event-card .btn-warning:hover {
    background-color: #e0a800;
    color: #fff;
}

.event-card .btn-danger {
    background-color: #dc3545;
    color: #fff;
}

.event-card .btn-danger:hover {
    background-color: #bd2130;
    color: #fff;
}

/* Responsive Design for Event Cards */
@media (max-width: 768px) {
    .event-card {
        padding: 15px;
        margin-bottom: 15px;
    }

    .event-card h5 {
        font-size: 1.2rem;
    }

    .event-card p {
        font-size: 0.9rem;
    }
}

/* Scoped Registration Page Styles */
/* Registration Page Styles */
.registration-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1c1c1c, #333);
    padding: 20px;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.registration-card {
    background: #2b2b2b;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.registration-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registration-input-group {
    text-align: left;
}

.registration-input-group label {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 5px;
}

.registration-input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #1e1e1e;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.registration-input-group input:focus {
    border: 1px solid #007bff;
    background: #2e2e2e;
}

.registration-btn {
    background: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.registration-btn:hover {
    background: #0056b3;
    transform: scale(1.02);
}

.registration-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.registration-footer p {
    margin-bottom: 10px;
}

.registration-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.registration-link:hover {
    color: #0056b3;
}

.registration-back-btn {
    display: inline-block;
    background: #444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.registration-back-btn:hover {
    background: #333;
}

/* Removed old blog responsive utilities - using template-based CSS */

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.pagination-btn:focus,
.share-btn:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    outline: none;
}

/* Animation classes for blog cards */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page subtitle styling for better readability */
.page-subtitle {
    background-color: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced social media section for better visibility */
.social-media-section {
    background-color: rgba(0, 0, 0, 0.8) !important;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.social-media-section h3 {
    color: #ffffff !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-media-section .card-text {
    color: #f8f9fa !important;
    font-weight: 500;
}

.social-media-section .btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-media-section .btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Print styles for blog articles */
@media print {
    .social-share-section,
    .admin-actions-section,
    .article-navigation,
    .blog-pagination-container {
        display: none !important;
    }
    
    .article-title {
        color: #000 !important;
    }
    
    .article-body {
        font-size: 12pt !important;
        line-height: 1.5 !important;
    }
}

