@font-face {
    font-family: 'Futura-Bold';
    src: url('../fonts/FuturaStd-Bold.otf');
}
@font-face {
    font-family: 'Futura-Bold-Oblique';
    src: url('../fonts/FuturaStd-BoldOblique.otf');
}
@font-face {
    font-family: 'Futura-Book';
    src: url('../fonts/FuturaStd-Book.otf');
}
@font-face {
    font-family: 'Futura-Book-Oblique';
    src: url('../fonts/FuturaStd-BookOblique.otf');
}
@font-face {
    font-family: 'Futura-Condensed';
    src: url('../fonts/FuturaStd-Condensed.otf');
}
@font-face {
    font-family: 'Futura-Condensed-Light';
    src: url('../fonts/FuturaStd-CondensedLight.otf');
}
@font-face {
    font-family: 'Futura-Condensed-Light-Obl';
    src: url('../fonts/FuturaStd-CondensedLightObl.otf');
}
@font-face {
    font-family: 'Futura-Condensed-Oblique';
    src: url('../fonts/FuturaStd-CondensedOblique.otf');
}
@font-face {
    font-family: 'Futura-Heavy';
    src: url('../fonts/FuturaStd-Heavy.otf');
}
@font-face {
    font-family: 'Futura-Heavy-Oblique';
    src: url('../fonts/FuturaStd-HeavyOblique.otf');
}
@font-face {
    font-family: 'Futura-Light';
    src: url('../fonts/FuturaStd-Light.otf');
}
@font-face {
    font-family: 'Futura-Light-Oblique';
    src: url('../fonts/FuturaStd-LightOblique.otf');
}
@font-face {
    font-family: 'Futura-Medium';
    src: url('../fonts/FuturaStd-Medium.otf');
}
@font-face {
    font-family: 'Futura-Medium-Oblique';
    src: url('../fonts/FuturaStd-MediumOblique.otf');
}

:root {
    --primary-color: #666666;
}

/* Page Styling */
body {
    background: #ffffff;
    font-family: 'Futura-Book';
}



/*Generic*/
.primary-color{
    color: var(--primary-color);
}
.primary-background-color{
    background-color: var(--primary-color);
    color: white;
}
.bottom-30 {
    bottom: 30px;
}
.top-15 {
    top: 15%;
}
.customBorder{
    border: 1px solid var(--primary-color) !important;
}
.borderTop{
    border-top: 1px solid var(--primary-color) !important;
}
.borderBottom{
    border-bottom: 1px solid var(--primary-color) !important;
}
.letterSpacing2{
    letter-spacing: 2px;
}
.fontSize22{
    font-size: 22px;
}
.futuraMedium{
    font-family: 'Futura-Medium';
}
.width200{
    width: 200px;
}
.logo {
    min-width: 100px;
    max-height: 400px;
}
.signup-page .logo, .forgot-password-page .logo {
    max-height: 250px;
}
.page-title{
    color: var(--primary-color);
    font-size: 36px;
    font-family: 'Futura-Medium';
    letter-spacing: 2px;
}
.page-title-small{
    color: var(--primary-color);
    font-size: 20px;
    font-family: 'Futura-Medium';
}
.page-sub-title{
    color: var(--primary-color);
    font-size: 28px;
    font-family: 'Futura-Medium';
}
.link a{
    color: var(--primary-color);
    font-size: 14px;
    font-family: 'Futura-Heavy';
}
.divider span{
    font-size: 14px;
    color: var(--primary-color);
    background-color: #f1f1f1;
    font-family: 'Futura-Book';
}
.divider::before {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--primary-color);
    margin: 0 0 0 15%;
}
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--primary-color);
    margin: 0 15% 0 0;
}
.container-fluid:not(.topnav):not(.group-page):not(.message-page) {
    padding-top: 76px;
    padding-bottom: 109px;
}
/*Form Fields*/
.input-field {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    text-align: center;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    background-size: 30px;
    background-repeat: no-repeat;
    font-family: 'Futura-Book';
    color: var(--primary-color);
}
.input-field::placeholder {
    color: var(--primary-color);
}
.email-field {
    background-position: 25px center;
    background-image: url('../images/email.png');
}
.phone-field {
    background-position: 25px center;
    background-image: url('../images/phone.png');
}
.name-field {
    background-position: 25px center;
    background-image: url('../images/profile.png');
}
.toggle-password{
    right: 25px;
    cursor: pointer;
}
.help-text{
    color: var(--primary-color);
    font-size: 12px;
    font-family: 'Futura-Book';
}
.file-upload {
    width: 65px;
    height: 65px;
    cursor: pointer;
}
.file-upload-auto {
    cursor: pointer;
}
.file-upload .icon {
    width: 65px;
    height: 65px;
    background-size: 65px;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('../images/photo-circle-medium.png');
}
/*Form Fields*/
/*Top navigation*/
.topnav{
    transition: background .3s ease,transform .4s ease,top .4s ease;
    width: 100%;
    position: absolute;
    z-index: 3;
    top: 0;
    background-color: white;
}
.topnav.scroll{
    position: fixed;
    border-bottom: 2px solid var(--primary-color);
}
/*Top navigation*/
/* bottom navigation */
.bottom-nav {
    background-color: var(--primary-color);
}
.bottom-nav a {
    color: white;
    font-size: 14px;
    font-family: 'Futura-Light';
}
.bottom-nav img {
    width: 30px;
}
.bottom-nav .openCamera img {
    width: 55px;
}
/* bottom navigation */
/*Generic*/

/* Home page Specific */
.get-started-text {
    font-size: 30px;
    color: #9b9b9b;
    font-family: 'Futura-Light';
}
/* Home page Specific */

/*Profile Page Specific*/
.icons img{
    width: 30px;
}
.standard-form label{
    width: 40%;
    color: var(--primary-color);
    font-size: 16px;
    font-family: 'Futura-Book';
}
.standard-form a{
    color: var(--primary-color);
    font-size: 16px;
    font-family: 'Futura-Book';
    background-size: 30px;
    background-repeat: no-repeat;
}
.standard-form .dob-group{
    width: 60%;
}
.standard-form input{
    width: 60%;
    font-size: 14px;
    border: none;
    font-family: 'Futura-Book';
    color: var(--primary-color);
    outline: unset;
}
.standard-form .input-suffix{
    font-size: 14px;
    font-family: 'Futura-Book';
    color: var(--primary-color);
}
.standard-form .dob-group select{
    width: auto;
}
.standard-form select{
    width: 60%;
    font-size: 14px;
    border: none;
    font-family: 'Futura-Book';
    color: var(--primary-color);
    outline: unset;
    background-color: white;
}
.standard-form textarea{
    width: 60%;
    font-size: 14px;
    border: none;
    font-family: 'Futura-Book';
    color: var(--primary-color);
    outline: unset;
    resize: none;
}
.standard-form input:disabled{
    background-color: white;
}
.standard-form a.invite{
    background-position: right center;
    background-image: url('../images/invite.png');
}
.standard-form a.right-arrow{
    background-position: right center;
    background-image: url('../images/right-arrow.png');
}
a.logout{
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-image: url('../images/logout.png');
}
.gallery-image {
    aspect-ratio: 1 / 1;
}
/*Profile Page Specific*/

/*Accordion*/
.accordion-button {
    color: var(--primary-color);
    font-size: 22px;
    font-family: 'Futura-Medium';
    border: none;
    box-shadow: none; /* Removes the blue border on click */
}
.accordion-button:not(.collapsed) {
    background-color: white;
    color: var(--primary-color);
    /*justify-content: center;*/
    box-shadow: none;
}
.accordion-button:focus{
    box-shadow: none;
}
.accordion-button::after {
    display: none;
}
.accordion-header img {
    width: 40px;
    height: 40px;
}
/* Only show "+" when collapsed */
.accordion-button .icon-expanded {
    display: none;
}
/* When expanded, hide "+" and show "-" */
.accordion-button:not(.collapsed) .icon-collapsed {
    display: none;
}
.accordion-button:not(.collapsed) .icon-expanded {
    display: inline;
}
.accordion-item:last-of-type {
    border-radius: 0;
}
/*Accordion*/

/*Upload Images Modal*/
#predefinedImages img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
}
#predefinedImages img.selected {
    border-color: #007bff;
}
/*Upload Images Modal*/

/*Feed Image Container Styles*/
.feed .card img.img-fluid,
.feed-detail .card img.img-fluid,
.pet-page img.img-fluid,
.edit-pet-page img.img-fluid,
.group-info-page img.img-fluid,
.add-group-page img.img-fluid,
.edit-profile-page img.img-fluid,
.profile-page img.img-fluid {
    /*    max-width: 100%;
        max-height: 400px;
        width: auto;
        height: auto;*/
    width: 100%;
    height: 300px;
    /*object-fit: contain;*/
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.feed .card,
.feed-detail .card {
    max-width: 100%;
    overflow: hidden;
}

.feed-image-rotate-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ffffff;
    color: var(--primary-color);
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    padding: 6px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/*Comment images in feed detail*/
#messageContainer img.img-fluid {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/*Image preview in feed detail*/
#imagePreview {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
/*Feed Image Container Styles*/

/*Map Current Location Button*/
.current-location-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 2px solid #666666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.current-location-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.current-location-btn:active {
    transform: scale(0.95);
}

.current-location-btn img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.4) contrast(100%);
}
/*Map Current Location Button*/

.small-text {
    font-size: 14px;
}

/*Search*/
#searchOverlay {
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#searchOverlay.active {
    transform: translateY(0);
}

#closeSearch {
    transform: translateY(-55%);
}

.search-results > div {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}
/*Search*/


.grecaptcha-badge {
    visibility: hidden;
}

.autocomplete-dropdown {
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 0 0 8px 8px;
    left: 0;
    top: 100%;
}
.autocomplete-option {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.autocomplete-option:last-child {
    border-bottom: none;
}
.autocomplete-option:hover, .autocomplete-option.current-location:hover {
    background: #f5f5f5;
}
.autocomplete-option.current-location {
    font-weight: bold;
    color: #007bff;
    background: #eaf6ff;
}

/* Ensure parent container has relative positioning for autocomplete dropdown */
.borderBottom {
    position: relative;
}

/* Button processing state */
button:disabled, input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/*Show scroll button on homepage*/
.arrow {
    position: fixed;
    bottom: 100px;
    right: 5%;
    z-index: 10;
}
.bounce {
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}
/* Scroll down indicator (bouncing) */
@-webkit-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
    }
}
@-moz-keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
    }
    40% {
        -moz-transform: translateY(-30px);
    }
    60% {
        -moz-transform: translateY(-15px);
    }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
        transform: translateY(-30px);
    }
    60% {
        -webkit-transform: translateY(-15px);
        -moz-transform: translateY(-15px);
        -ms-transform: translateY(-15px);
        -o-transform: translateY(-15px);
        transform: translateY(-15px);
    }
}
/*pet profile image*/
img.pet-profile {
    max-height: 450px;
    max-width: 100%;
}

@media (max-width: 767px) {
    .feed .card img.img-fluid,
    .feed-detail .card img.img-fluid {
        height: 300px;
    }
}

/* Group chat and message layout */
.group-page .col-12.col-md-6.col-lg-4,
.message-page .col-12.col-md-6.col-lg-4 {
    background: #fff;
}

/* Ensure message container doesn't overflow */
.group-page #messageContainer,
.message-page #messageContainer {
    -webkit-overflow-scrolling: touch;
}

/* On medium screens and up, adjust max-width */
@media (min-width: 768px) {
    .group-page .col-12.col-md-6.col-lg-4,
    .message-page .col-12.col-md-6.col-lg-4 {
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .group-page .col-12.col-md-6.col-lg-4,
    .message-page .col-12.col-md-6.col-lg-4 {
        max-width: 33.333333%;
    }
}