﻿/*************************************************************************************/
/**** Specific Fonts *****/
/*************************************************************************************/
@font-face {
    font-family: 'Javacom';
    src: url('../fonts/Javacom.ttf.eot');
    src: url('../fonts/Javacom.ttf.svg');
    src: url('../fonts/Javacom.ttf.eot?#iefix') format('embedded-opentype'), url('../fonts/Javacom.ttf.woff') format('woff');
}


/* el-messiri-regular - latin */
@font-face {
    font-family: 'El Messiri';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/el-messiri-v2-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('El Messiri'), local('ElMessiri-Regular'), url('../fonts/el-messiri-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/el-messiri-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/el-messiri-v2-latin-regular.woff') format('woff'), /* Modern Browsers */
    url('../fonts/el-messiri-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/el-messiri-v2-latin-regular.svg#ElMessiri') format('svg'); /* Legacy iOS */
}


/*************************************************************************************/
/**** Navbar toggle *****/
/*************************************************************************************/

/* Container positioned far-left in navbar */
.header_loggedinname {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* right-aligned */
}

.admin-switch-below {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Switch styling (if not already added) */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    inset: 0;
    background-color: #777;
    transition: .2s;
    border-radius: 24px;
}

    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        top: 3px;
        background-color: #fff;
        transition: .2s;
        border-radius: 50%;
    }

.switch input:checked + .slider {
    background-color: white;
}

    .switch input:checked + .slider:before {
        transform: translateX(20px);
    }

.admin-switch-text {
    display: inline-block !important;
    color: black !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-left: 6px;
    white-space: nowrap;
}



/*************************************************************************************/
/**** General *****/
/*************************************************************************************/

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.background-content {
    overflow: hidden;
}

.body-container {
    background-color: white;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/*************************************************************************************/
/**** Bootstrap Overrides *****/
/*************************************************************************************/
.navbar-inverse {
    background-color: rgb(121, 117, 116);
    background-repeat: repeat;
    height: 98px;
    border: none;
}

    .navbar-inverse .navbar-brand {
        color: white;
        padding-left: 50px;
    }

        .navbar-inverse .navbar-brand:hover,
        .navbar-inverse .navbar-brand:focus {
            color: orange;
            background-color: transparent;
        }

/*****************************************************************************************/
/* Control */
/*****************************************************************************************/
.max-width {
    min-width: 100%;
}

.new-row {
    padding-top: 16px;
}

.button-default,
.button-default:focus,
.button-default-alt,
.button-default-alt:focus,
.button-grey,
.button-grey:focus {
    display: inline-block;
    position: relative;
    padding: 0;
    line-height: normal;
    margin-right: .1em;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    overflow: visible; /* removes extra width in IE */
    text-decoration: none;
    font-size: 1em;
    font-weight: normal /*{fwDefault}*/;
    min-width: 80px;
    min-height: 30px;
    padding: 5px !important;
    color: black !important;
}

    .button-default,
    .button-default:focus {
        min-width: 150px;
        background-color: rgb(121,117,116);
    }

    .button-grey,
    .button-grey:focus {
        min-width: 150px;
        background-color: lightgray;
    }

.mandatory {
    position: absolute;
    color: rgb(167,28,32);
    font-size: 30px;
    cursor: default;
}

.date-control {
    max-width: 100px;
    display: inline-block;
    background-color: white;
    border-color: darkgreen;
    border-radius: 4px 0 0 4px;
    margin-top: -2px;
}


    .date-control[readonly] {
        cursor: not-allowed;
        background-color: white;
        cursor: pointer;
    }

.date-control-button {
    height: 34px;
    border-radius: 0 4px 4px 0;
    margin-left: -2px;
    background-color: rgb(235,255,215);
    border: 1px solid #cccccc;
}

    .date-control-button :hover {
        opacity: 0.6;
    }

.date-control-readonly {
    border-radius: 4px;
}

    .date-control-readonly[readonly] {
        cursor: not-allowed;
        background-color: #eeeeee;
        cursor: not-allowed;
    }

.time-control {
    max-width: 100px;
    display: inline-block;
    background-color: white;
    border-color: darkgreen;
    border-radius: 4px 4px 4px 4px;
    margin-top: -2px;
}

.invalid-control {
    border: 1px solid red !important;
    background-color: rgb(255,240,240);
}

.mandatory {
    position: absolute;
    color: rgb(167,28,32);
    font-size: 30px;
    cursor: default;
}

.norecords {
    color: rgb(180,180,180);
}

/*************************************************************************************/
/**** Header *****/
/*************************************************************************************/
.header_logo {
    height: 150px;
    padding-left: 150px;
}

/* DESKTOP Header Background */
.header-background {
    --header-bg-image: url('/images/Upgrade2025/Header Books 2 Memories.jpg') ; /* default */

    width: 100%;
    height: 450px;
    background-image: var(--header-bg-image); /* use variable */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.solace-header-background {
    width: 100%;
    height: 450px;
    background-image: url('/images/Upgrade2025/Purple Theme-Header.jpg');
    background-size: cover;
    background-position: center;
}

.comfort-header-background {
    width: 100%;
    height: 450px;
    background-image: url('/images/Upgrade2025/Orange-Theme-Header.jpg');
    background-size: cover;
    background-position: center;
}

.awakening-header-background {
    width: 100%;
    height: 450px;
    background-image: url('/images/Upgrade2025/Red-Theme-Header.jpg');
    background-size: cover;
    background-position: center;
}

.tranquility-header-background {
    width: 100%;
    height: 450px;
    background-image: url('/images/Upgrade2025/Blue-Theme-Header.jpg');
    background-size: cover;
    background-position: center;
}

.peacefulness-header-background {
    width: 100%;
    height: 450px;
    background-image: url('/images/Upgrade2025/Brown-Pink-Theme-Header .jpg');
    background-size: cover;
    background-position: center;
}

/* MOBILE Header Background (≤768px) */
@media (max-width: 768px) {
    .header-background {
        --header-bg-image: url('/images/Upgrade2025/Header Books 2 Memories.jpg'); /* default */
        height: 300px;
        background-image: var(--header-bg-image); /* use variable */
        background-size: cover;
        background-position: center;
    }
}

/*.header-background-text {
    position: absolute;
    left: 150px;*/ /* Adjust this to move left/right */
    /*bottom: 470px;*/ /* Adjust this to move up/down from the green bar */
    /*color: white;
    font-size: 48px;*/ /* Adjust size as needed */
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}*/

.header_loggedinname {
    height: 30px;
    padding-left: 10px;
    padding-top: 20px;
}

.header_loggedinname a {
    color: black;
}

.header_memories_logo img {
    height: 70px;
    padding-right: 100px;
    padding-top: 20px;
}

.header-nav {
    text-align: center;
    padding-top: 36px;
}

.header-nav-item {
    display: inline-block;
    padding: 10px;
}

    .header-nav-item img {
        height: 36px;
    }

    .header-nav-item a {
        position: relative;
        display: inline-block;
    }

    .header-nav-item .hover-icon {
        display: none;
    }

    .header-nav-item a:hover .default-icon {
        display: none;
    }

    .header-nav-item a:hover .hover-icon {
        display: inline-block;
    }

    .header-nav-item.dropdown {
        position: relative;
    }

        .header-nav-item.dropdown .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            display: none;
            background-color: #7CB342; /* Light green */
            border: none;
            border-radius: 0;
            padding: 0;
            min-width: 180px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

            .header-nav-item.dropdown .dropdown-menu .dropdown-item {
                color: white;
                padding: 12px 20px;
                border-bottom: 1px solid rgba(255,255,255,0.3);
                transition: background-color 0.2s;
            }

                .header-nav-item.dropdown .dropdown-menu .dropdown-item:last-child {
                    border-bottom: none;
                }

                .header-nav-item.dropdown .dropdown-menu .dropdown-item:hover {
                    background-color: #558B2F;
                    color: white;
                }

            .header-nav-item.dropdown .dropdown-menu .dropdown-divider {
                display: none;
            }

        .header-nav-item.dropdown:hover .dropdown-menu {
            display: block;
        }

/*************************************************************************************/
/**** Footer *****/
/*************************************************************************************/
.site-footer {
    background-color: #9ACD32;
    padding: 50px 0;
    color: #FFFFFF;
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 0 20px;
    gap: 30px;
}

.footer-info {
    flex-basis: 40%;
    max-width: 450px;
    font-size: 14px;
    line-height: 1.6;
}

    .footer-info p {
        margin: 0;
    }

.footer-link-primary {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: bold;
}

    .footer-link-primary:hover {
        text-decoration: none;
    }

.footer-icon-wrapper {
    flex-basis: 20%;
    text-align: center;
}

    .footer-icon-wrapper a {
        display: inline-block;
        transition: opacity 0.3s ease;
    }

.footer-icon {
    width: 60px;
    opacity: 0.7;
}

.footer-icon-wrapper a:hover .footer-icon {
    opacity: 1;
}

.footer-links {
    flex-basis: 40%;
    text-align: right;
    white-space: nowrap;
}

.footer-link-secondary {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 500;
    font-size: 14px;
    margin: 0 5px;
}

    .footer-link-secondary:hover {
        color: #025826;
    }

.link-separator {
    font-size: 14px;
}

/* =================================
   MOBILE RESPONSIVENESS
   ================================= */
@media (max-width: 768px) {
    .footer-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-info,
    .footer-links {
        flex-basis: 100%;
        text-align: center;
        max-width: 100%;
    }

    .footer-info {
        order: 1;
        font-size: 13px;
    }

        .footer-info br {
            display: none;
        }

    .footer-icon-wrapper {
        order: 2;
    }

    .footer-links {
        order: 3;
        font-size: 12px;
    }

    .footer-link-secondary {
        font-size: 12px;
        display: inline-block;
        margin: 5px;
    }
}

/*************************************************************************************/
/**** Layout *****/
/*************************************************************************************/
/*.layout-content-background {
  position:absolute;
  width:100%;
  opacity:0.1;
}*/

.layout-content {
    background-repeat: no-repeat;
    min-height: 450px;
    /*padding: 50px;*/
}

.container.body-content {
    width: 100%;
    max-width: none;
    padding: 0;
}

.body-container {
    width: 100%;
    max-width: none;
    margin: 0;
    background: white;
    box-sizing: border-box;
    padding: 20px;
}

.layout-banner {
    background-size: cover;
    width: 100%;
    font-size: 20px;
    color: white;
    opacity: 0.9;
    padding-left: 150px;
    padding-top: 120px;
    height: 300px;
}

.layout-quote {
    text-align: center;
    padding: 20px;
    font-family: Javacom;
    font-size: 20px;
    opacity: 0.6;
}

.layout-buttons {
    padding-top: 50px;
    text-align: center;
    padding-left: 50px;
    padding-right: 50px;
}

/*************************************************************************************/
/**** Deceased Details *****/
/*************************************************************************************/
.deceased-biography-container {
    padding-left: 30px;
    padding-top: 4px;
    max-width: 800px;
    padding-right: 10px;
    text-align: justify;
    font-size: 12px;
    color: rgb(100,100,100);
    max-height: 156px;
    overflow-y: auto;
}

.deceased-details-container {
    padding-top: 30px;
    color: rgb(100,100,100);
    font-size: 16px;
}

/*************************************************************************************/
/**** Popup *****/
/*************************************************************************************/
.popup-container {
    background-color: white;
    min-width: 300px;
    min-height: 100px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0;
    color: #333;
    font-weight: normal;
    overflow: hidden;
}

.popup-container-inner {
    background-color: white;
    padding: 0;
    width: 100%;
    height: 100%;
}

.popup-close {
    float: right;
    margin: 8px 12px 0 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

    .popup-close:hover {
        opacity: 1;
    }

.popup-content {
    height: 100%;
    width: 100%;
}

.popup-body {
    background-color: white;
    padding: 24px;
    padding-bottom: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 15px;
    line-height: 1.5;
}

.popup-header {
    background: linear-gradient(135deg, #689f38 0%, #7cb342 100%);
    height: 50px;
    width: 100%;
    padding-left: 24px;
    padding-top: 14px;
    border-radius: 8px 8px 0 0;
    color: white;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3px;
}

.popup-subheader {
    background-color: #f5f5f5;
    height: 50px;
    width: 100%;
    padding-left: 24px;
    padding-top: 14px;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #e0e0e0;
}

.popup-buttons-container {
    vertical-align: bottom;
    height: 60px;
    text-align: center;
    width: 100% !important;
    position: absolute;
    top: 100px;
    display: none;
    padding-right: 0;
    padding-top: 12px;
    background-color: #fafafa;
    border-top: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.popup-saving span {
    color: #7cb342;
    font-weight: 500;
}

.popup-error {
    position: absolute;
    top: 0;
    border: 2px solid #d32f2f;
    border-radius: 8px;
    color: #d32f2f;
    font-size: 14px;
    font-weight: 600;
    padding: 16px;
    width: 400px;
    background-color: white;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.popup-error-close {
    float: right;
    margin: -12px -12px 0 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .popup-error-close:hover {
        opacity: 1;
    }

.popup-loading {
    padding: 32px;
    color: #7cb342;
    text-align: center;
}

    .popup-loading img {
        height: 40px;
    }

/*****************************************************************************************/
/* Submission */
/*****************************************************************************************/
.div-button {
    text-align: center;
    display: inline-block;
}

.submit-saving {
    display: inline-block;
    border: 1px solid darkgreen;
    border-radius: 4px;
    color: darkgreen;
    font-size: 12px;
    font-weight: bold;
    padding: 4px;
    max-width: 200px;
    background-color: white;
    margin: 0 auto;
    margin-left: 10px;
    margin-right: 10px;
}

.submit-error {
    margin-top: 50px;
    position: absolute;
    border: 1px solid rgb(167,28,32);
    border-radius: 4px;
    color: rgb(167,28,32);
    font-size: 12px;
    font-weight: bold;
    padding: 4px;
    width: 400px;
    background-color: white;
    z-index: 9999;
    margin: 0 auto;
}

.submit-error-close {
    float: right;
    margin: -15px -15px 0 0;
    cursor: pointer;
}

/*************************************************************************************/
/**** Login *****/
/*************************************************************************************/
.login-content {
    min-height: 457px;
    background-size: cover;
}

.login-content-header-background,
.login-content-header {
    width: 100%;
    height: 228px;
}

.login-content-header-background {
    position: absolute;
    background-color: lightgreen;
    opacity: 0.2;
    max-width: 1140px;
}

.login-content-header {
    opacity: 0.6;
}

    .login-content-header img {
        height: 100%;
        float: right;
        padding-right: 60px;
        padding-top: 100px;
    }

@media only screen and (max-width: 600px) {
    .login-content-header img {
        height: 75%;
        float: right;
        padding-right: 60px;
        padding-top: 100px;
    }
}

.login-content-body,
.login-content-body a {
    color: white;
    padding-left: 100px;
    padding-top: 10px;
}

.login-description {
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.theme-heading {
    font-size: 18px;
}

.login-banner {
    background-image: url('../images/login/Banner.jpg');
    background-size: contain;
    width: 100%;
    font-size: 20px;
    color: white;
    opacity: 0.9;
    padding-left: 150px;
    padding-top: 50px;
    height: 150px;
}

/*************************************************************************************/
/**** Home *****/
/*************************************************************************************/
.home-button,
.home-button :active {
    width: 120px !important;
    max-width: 120px !important;
    min-width: 120px !important;
    height: 120px;
    min-height: 40px;
    border-radius: 50%;
    padding-top: 20px !important;
    overflow: hidden;
    font-size: 14px;
}

    .home-button img {
        height: 36px;
    }

.home-button-a {
    padding: 10px;
}

    .home-button-a :hover {
        opacity: 0.8;
    }

/*************************************************************************************/
/**** Category *****/
/*************************************************************************************/
.popup-createcategory-container {
    background-color: white;
    width: 100%;
    padding: 10px;
    color: black;
    border-radius: 4px;
}

.popup-createcategory-icon-container {
    background-color: white;
    border: 1px solid silver;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
}

.popup-createcategory-icon {
    display: inline-block;
    padding: 6px;
    border: 1px solid transparent;
    border-radius: 2px;
}

.popup-createcategory-icon-container :hover {
    background-color: lightgoldenrodyellow;
    border: 1px solid silver;
}

.popup-createcategory-icon-container div :hover {
    background-color: transparent;
    border: none;
}

.popup-createcategory-icon-selected {
    background-color: lightcyan !important;
    border: 1px solid darkgray !important;
}

/*************************************************************************************/
/**** Communications *****/
/*************************************************************************************/

.filter-container {
    border: 1px solid black;
}

    .filter-container a :hover {
        color: silver !important;
        font-weight: normal;
    }

.filter-heading {
    background-color: black;
    color: white;
    padding: 10px;
}

.filter-content {
    padding: 0 10px 0 10px;
}

.filter-dropdown {
    float: right;
    color: white;
    margin-top: -30px;
    padding-right: 10px;
}

.filter-selectall,
.filter-deselectall {
    position: absolute;
    right: 17px;
    z-index: 22;
}

.filter-selectall {
    margin-top: 0;
}

.filter-deselectall {
    margin-top: 25px;
}

    .filter-selectall a,
    .filter-deselectall a {
        color: silver !important;
        font-size: 80%;
    }

@media only screen and (max-width: 736px) {
    /*************************************************************************************/
    /**** Home *****/
    /*************************************************************************************/
    .home-button,
    .home-button :active {
        width: 170px !important;
        max-width: 170px !important;
        min-width: 170px !important;
        height: 170px;
        min-height: 40px;
        border-radius: 50%;
        padding-top: 20px !important;
        overflow: hidden;
        font-size: 14px;
    }

        .home-button img {
            height: 70px;
        }

    .home-button-a {
        padding: 10px;
    }

        .home-button-a :hover {
            opacity: 0.8;
        }

    .mobi-menu-font {
        font-size: 20px;
    }
}

/* Mobile Navigation Styles */

/* Hamburger menu button styling */
.navbar-toggle {
    background-color: #8BC34A !important;
    border: none !important;
    border-radius: 4px;
    padding: 10px;
    margin-top: 32px;
    margin-right: 15px;
}

    .navbar-toggle:hover,
    .navbar-toggle:focus {
        background-color: #7CB342 !important;
    }

    .navbar-toggle .icon-bar {
        background-color: white !important;
        height: 3px;
        width: 25px;
    }

/* Mobile menu styles */
@media (max-width: 767px) {
    /* Adjust navbar height for mobile */
    .navbar-inverse {
        min-height: 98px;
    }

    /* Logo positioning on mobile */
    .header_logo {
        max-width: 150px;
        height: auto;
        padding: 10px;
    }

    /* Mobile menu dropdown */
    .navbar-collapse {
        background-color: #8BC34A;
        border: none !important;
        margin-top: 98px; /* Push below the header */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

        .navbar-collapse.collapse.in,
        .navbar-collapse.collapsing {
            background-color: #8BC34A;
        }

    /* User welcome message in mobile menu */
    .navbar-right {
        margin: 0;
        padding: 0;
    }

        .navbar-right li {
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }

    .header_loggedinname {
        padding: 20px 20px;
        color: white;
        font-size: 16px;
        text-align: center;
        display: block;
        font-weight: 600;
        background-color: rgba(0, 0, 0, 0.1);
        margin: 0;
        height: auto !important; /* Override desktop height */
        line-height: normal;
    }

        .header_loggedinname a {
            color: white;
        }

            .header_loggedinname a:hover {
                color: #004d00;
            }

    /* Hide desktop navigation on mobile */
    .header-nav {
        display: none !important;
    }

    /* Mobile menu items */
    .navbar-nav {
        margin: 0;
    }

        .navbar-nav > li > a {
            color: white !important;
            padding: 15px 20px !important;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            font-size: 16px;
        }

            .navbar-nav > li > a:hover,
            .navbar-nav > li > a:focus {
                background-color: #004d00 !important;
                color: white !important;
            }

    /* Dropdown styling for mobile */
    .dropdown-menu {
        background-color: #7CB342;
        border: none;
        box-shadow: none;
        padding: 0;
        position: static;
        float: none;
        width: auto;
    }

        .dropdown-menu > li > a {
            color: white !important;
            padding: 12px 20px 12px 40px !important;
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

            .dropdown-menu > li > a:hover,
            .dropdown-menu > li > a:focus {
                background-color: #004d00 !important;
            }

    /* Active menu item */
    .navbar-nav > .active > a,
    .navbar-nav > .active > a:hover,
    .navbar-nav > .active > a:focus {
        background-color: #004d00 !important;
    }

    /* Ensure dropdown opens on mobile */
    .navbar-nav .open .dropdown-menu {
        display: block;
    }

    /* Container adjustments */
    .container {
        width: 100%;
        padding: 0;
    }

    .navbar-header {
        width: 100%;
    }

    /* Body content padding adjustment */
    .body-content {
        padding-top: 20px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
    .header-nav-item {
        margin: 0 5px;
    }

        .header-nav-item img {
            height: 35px;
        }
}

/* Desktop - keep header-nav visible */
@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }

    .navbar-collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }

        .navbar-collapse.collapse {
            display: block !important;
        }
}

.profile-picture-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.photo-frame {
    position: relative;
    background: white;
    padding: 12px;
    padding-bottom: 40px; /* Extra padding at bottom for polaroid effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 180px;
}

.profile-image {
    display: block;
    width: 156px;
    height: 156px;
    object-fit: cover;
}

.edit-icon-overlay {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    background: #4CAF50; /* Green background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

    .edit-icon-overlay:hover {
        background: #45a049; /* Darker green on hover */
        transform: scale(1.1);
    }

    .edit-icon-overlay svg {
        color: white;
        stroke: white;
    }

/* Optional: Add hover effect to entire frame */
.photo-frame:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.15);
}