/* Custom styling for the hero section background overlay */
.hero-bg {
    background-image: url('image/BARANGAY_504_ZONE_50-removebg-preview.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
}

/* Custom style for text shadow on the hero image for readability */
.shadow-text {
    text-shadow: 3px 3px 9px rgba(1, 1, 1, 0.9);
}


/* ===== SERVICE.HTML STYLES ===== */
.service-page .hero-bg {
    background-image: url('image/BARANGAY_504_ZONE_50-removebg-preview.png');
    background-size: 30%;
    background-position: center;
    background-repeat: no-repeat;
}

.service-page .shadow-text {
    text-shadow: 3px 3px 9px rgba(1, 1, 1, 0.9);
}

.service-page .content-area {
    min-height: 80vh;
}

/* Sticky category sidebar */
.service-page #service-list .sticky {
    position: sticky;
    top: 5rem; /* 80px from top */
}

/* Form input focus */
.service-page input:focus,
.service-page textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3); /* rose-primary shadow */
}

/* Buttons */
.service-page button {
    transition: all 0.3s ease;
}

/* Other request section */
.service-page #other-requests {
    background-color: #BE185D; /* rose-dark */
}

.service-page #other-requests h2,
.service-page #other-requests p {
    color: #FFF1F2; /* pink-light */
}

/* Other hover effects */
.service-page a:hover {
    transition: all 0.3s ease;
}

/* ===== COMPLAINT.HTML STYLES ===== */
.complaint-page .content-area {
    min-height: 80vh;
}

.complaint-page #complaint-form-section .sticky {
    position: sticky;
    top: 5rem;
}

.complaint-page input:focus,
.complaint-page textarea:focus,
.complaint-page select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 114, 182, 0.3); /* rose-primary */
}

.complaint-page button {
    transition: all 0.3s ease;
}

.complaint-page h1, 
.complaint-page h2, 
.complaint-page h3 {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
}

/* announcement.css - scoped styles for Announcements page */

/* Ensures content area is sufficiently tall */
main {
    min-height: 80vh;
}

/* Custom style for pinned announcements */
.pinned {
    border-left-color: #BE185D !important; /* rose-dark */
    background-color: #FFF0F5; /* slightly darker light pink for emphasis */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
                0 4px 6px -2px rgba(0, 0, 0, 0.05); /* more prominent shadow */
}

/* Announcement card hover */
.announcement-card:hover {
    box-shadow: 0 12px 20px -5px rgba(0,0,0,0.1), 0 6px 8px -3px rgba(0,0,0,0.05);
}

/* Pin, Hide, Delete buttons hover */
.pin-button:hover,
.hide-button:hover,
.delete-button:hover {
    cursor: pointer;
}

/* Footer social icons hover */
footer a:hover {
    color: #F472B6; /* rose-primary */
}

/*Barangay Official */
/* ------------------------
   Body & Main
------------------------ */
.bgo-body {
    font-family: 'Inter', sans-serif;
    background-color: #FFF1F2; /* pink-light */
}

.bgo-main {
    min-height: 80vh; /* ensures content area is tall enough */
}

/* ------------------------
   Header & Mobile Menu
------------------------ */
.bgo-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

#bgo-mobile-menu {
    display: none; /* toggled by JS */
}

/* ------------------------
   Sections
------------------------ */
.bgo-section-rose-dark {
    background-color: #BE185D; /* rose-dark */
}

.bgo-section-pink-light {
    background-color: #FFF1F2; /* pink-light */
}

/* ------------------------
   Official Card
------------------------ */
.bgo-official-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border-top-width: 4px;
    border-top-color: #F472B6; /* rose-primary */
}

.bgo-official-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
}

/* ------------------------
   Profile Pic Placeholder
------------------------ */
.bgo-profile-pic-placeholder {
    width: 100%;
    height: 10rem; /* fixed height */
    background-color: #FED7AA; /* light orange/peach */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: #E11D48; /* red text */
    font-weight: 600;
}

/* ------------------------
   Chat Button
------------------------ */
.bgo-official-card button {
    margin-top: 1rem;
    width: 100%;
    padding: 0.5rem 0;
    background-color: #F472B6; /* rose-primary */
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
    cursor: pointer;
}

.bgo-official-card button:hover {
    background-color: #BE185D; /* rose-dark */
}

/* ------------------------
   Footer
------------------------ */
.bgo-footer {
    background-color: #ffffff;
    border-top: 1px solid #FEE2E2; /* pink-light border */
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.bgo-footer h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #BE185D; /* rose-dark */
    margin-bottom: 0.75rem;
}

.bgo-footer a {
    color: #4B5563; /* gray-600 */
    transition: color 0.2s;
}

.bgo-footer a:hover {
    color: #F472B6; /* rose-primary */
}

/* Login */
/* Main container centering */
.barangay-login-main {
    min-height: calc(100vh - 4rem - 9.5rem); /* Subtract header and footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Select wrapper for positioning the arrow */
.barangay-login-select-wrapper {
    position: relative;
}

/* Arrow inside select */
.barangay-login-select-wrapper svg {
    position: absolute;
    top: 50%;
    right: 1rem; /* matches select padding */
    transform: translateY(-50%);
    pointer-events: none;
    width: 1rem;
    height: 1rem;
    color: #4B5563; /* text-gray-700 equivalent */
}


/* Login button */
.barangay-login-btn {
    background-color: #F472B6; /* rose-primary */
    color: white;
    font-weight: bold;
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.barangay-login-btn:hover {
    background-color: #BE185D; /* rose-dark */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Footer link */
.barangay-login-footer-link {
    color: #BE185D; /* rose-dark */
    font-weight: 500;
}

.barangay-login-footer-link:hover {
    text-decoration: underline;
}

/* Optional: style the form inputs for focus */
.barangay-login-main input:focus,
.barangay-login-main select:focus {
    outline: none;
    border-color: #F472B6; /* rose-primary */
    box-shadow: 0 0 0 2px rgba(244, 114, 182, 0.3);
}

/* Register */
/* Barangay Resident Registration Page CSS */
.barangay-register-main {
    min-height: calc(100vh - 4rem - 9.5rem); /* same as original */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif; /* Force Inter font */
}

/* Fix select arrow position if you have dropdowns */
.barangay-register-main select {
    appearance: none; /* remove default arrow */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23374151' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem auto;
    padding-right: 2rem; /* make space for arrow */
}

/* Forgot Password Page CSS */
.barangay-forgot-main {
    min-height: calc(100vh - 4rem - 9.5rem); /* Same as header/footer calculation */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* Input select fix (if any) */
.barangay-forgot-main select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23374151' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1rem auto;
    padding-right: 2rem;
}

