/* General */
html {
    scroll-behavior: smooth;
}



h2, h3 {
    margin-top: 40px;
}

h2 {
    font-size: 1.30rem;
}

h3 {
    font-size: 1.25rem;
}



/* Hover Effects */
.interact:hover, .interact2:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}




.card.card-cover .position-relative {
    z-index: 2; /* Ensure text is above the overlay */
}


/* Full-page overlay */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark translucent background */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show overlay */
#loadingOverlay.active {
    visibility: visible;
    opacity: 1;
}

/* Spinner animation */
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top: 8px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



#loadingOverlay p {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 1.5s infinite; /* Add animation for fun effect */
}

/* Add a simple fade effect for the text */
@keyframes fadeIn {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}








/* Optional: Adjust spacing for mobile */
.navbar-toggler {
  margin-right: auto; /* Ensure the menu toggle is on the left */
  padding:2px 0;
}

@media (max-width: 992px) {
  .navbar-brand {
    margin-right: auto; /* Center-align logo */
  }

  .ms-auto {
    margin-left: auto !important; /* Ensure profile menu stays on the right */
  }
}


.navbar-toggler:focus {
  outline: none;
  box-shadow: none; /* Removes any additional focus styles */
}


.bi-heart-fill.liked {
    color: #ff6363; /* Adjust the shade of red if needed */
}





/* Custom styling for button-like tabs */
.custom-tabs .btn-tab {
  background-color: inherit; /* Light background for buttons */
  border-radius: 5px; /* Rounded corners */
color:inherit;
  padding: 0.5rem 1rem; /* Padding for buttons */
  margin-right: 5px; /* Spacing between buttons */
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Active tab button styling */
.custom-tabs .btn-tab.active {
  background-color: #eee; /* Bootstrap primary color */
  color: #000; /* White text for active button */
    border:0;
}

/* Hover effect for tabs */
.custom-tabs .btn-tab:hover {
  background-color: #e2e6ea; /* Slightly darker background on hover */
  color: #212529; /* Darker text color on hover */
}

/* Remove the horizontal line under tabs */
.custom-tabs {
  border-bottom: none;
}




/* Profile Image Hover Effect */
.profile-image {
    transition: opacity 0.2s ease-in-out;
    position: relative;
    z-index: 1;
}

.profile-image:hover {
    opacity: 0.7;
}

.upload-icon {
    z-index: 2;
    pointer-events: none;
}

.profile-image:hover + .upload-icon {
    display: block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Ensure the placeholder is visible with contrasting color */
input::placeholder {
    color: #ccc !important; /* Light color for visibility */
}

/* Specifically target .form-control-dark input fields to adjust placeholder color */
input.form-control-dark::placeholder {
    color: #ddd !important; /* Lighter color for dark inputs */
}


:root {
    --bs-warning: #ff8000 !important;
    --bs-warning-rgb: 255, 128, 0 !important;
}

button.btn-warning, .btn-warning {
    --bs-btn-color: #fff !important;
    --bs-btn-bg: #ff8000 !important;
    --bs-btn-border-color: #ff7300 !important;
    --bs-btn-hover-color: #fff !important;
    --bs-btn-hover-bg: #ff9100 !important;
    --bs-btn-hover-border-color: #ff8600 !important;
    --bs-btn-focus-shadow-rgb: 255, 140, 0 !important;
    --bs-btn-active-color: #fff !important;
    --bs-btn-active-bg: #ff9900 !important;
    --bs-btn-active-border-color: #ff8800 !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) !important;
    --bs-btn-disabled-color: #fff !important;
    --bs-btn-disabled-bg: #ff8000 !important;
    --bs-btn-disabled-border-color: #ff7300 !important;
}
.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}


    /* Container to position elements */
    .comment-form-container {
      position: relative;

    }
    /* Auto-expanding Textarea */
    #modal-comment-input, #modal-comment-input-mobile {
      resize: none;
      overflow: hidden;
      transition: height 0.2s ease;
      min-height: 41px; /* Ensure one-line height */
        padding-right:65px;
   

    }
    /* Submit Button: initially hidden */
    #modal-submit-comment,#modal-submit-comment-mobile {
      position: absolute;
      top: 22px;
      right: 22px;
      transform: translateY(-50%);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    #modal-submit-comment.active,#modal-submit-comment-mobile.active {
      opacity: 1;
      pointer-events: auto;
    }
    /* Character Counter */

    #char-counter.warning,#char-counter-mobile.warning {
      color: #dc3545; /* Danger red */
    }


img.emoji {
   height: 1em;
   width: 1em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
}

.form-control:focus {
    outline: none !important;
    box-shadow: 0 0 5px rgba(255, 115, 0, 0.5) !important; /* Soft orange glow */
    border-color: #ff7300 !important; /* Change border color */
}


  .dropdown-toggle.no-caret::after {
    display: none !important;
  }


/* Like button animation */ 

.like-btn i {
    display: inline-block;
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.animate-heart {
  animation: heart-pop 0.9s ease;
}

.heart-animate {
    animation: pop 0.7s ease;
}


.liked {
  color: #ff3b5c !important;
  animation: pop 0.7s ease-in-out;
}


@keyframes pop {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.sparkle {
    position: absolute;
    pointer-events: none;
    font-size: 14px;
    opacity: 0;
    animation: sparkle 0.8s forwards;
}

@keyframes sparkle {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    50% { opacity: 1; transform: translateY(-15px) scale(1.2); }
    100% { opacity: 0; transform: translateY(-30px) scale(0.8); }
}

/* Spark animation */
/* Spark animation */
@keyframes spark-fly {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-40px) scale(0); }
}

.spark {
  background-color: #FFA500; /* Orange sparkles */
  animation: spark-fly 1.0s ease-out forwards;
  border-radius: 50%;
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  width: 8px;
  height: 8px;
}


/* Show only icon between 400px and 791px */
@media (min-width: 768px) and (max-width: 1023px) {
    .user-btn .btn-text {
        display: none !important; /* Hide button text */
    }
    .no-image-div, .user-list-item img {
        width: 35px !important;
        height: 35px !important; /* Make profile images smaller */
    }
}

@media (max-width: 767px), (min-width: 1024px) {
    .user-btn .btn-text {
        display: inline !important; /* Show button text */
    }
    .no-image-div, .user-list-item img {
        width: 45px !important;
        height: 45px !important; /* Keep normal size */
    }
    
}

/* Prevent button from moving to a new line */
.user-list-item {
    display: flex;
    flex-wrap: nowrap !important; /* Forces the button to stay on the same line */
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Hover effect only when parent is hovered */
.foxgum-logo .logo-icon {
  filter: invert(100%);
  transition: transform 0.3s ease;
}
.foxgum-logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

/* Optional: Pulsing Fox text */
.fox-text {
  display: inline-block;
  animation: foxPulse 2s infinite;
}
@keyframes foxPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}



#fox-logo-container {
  position: relative;
  width: 45px;
  height: 45px;
  cursor: pointer;
}

.fox-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* Start state */
.bubble, .splatter {
  opacity: 0;
  transform: scale(0.5);
}




/* Change the progress bar color */
#nprogress .bar {
  background: #ff6600 !important; /* ← your custom color */
}

/* Optional: change the shadow behind the bar */
#nprogress .peg {
  box-shadow: 0 0 10px #ff6600, 0 0 5px #ff6600 !important;
}

/* Hide spinner completely (in case you didn’t configure it in JS) */
#nprogress .spinner {
  display: none !important;
}

#footer-bubble.player-active {
  bottom: 100px !important; /* or however high you need */
  transition: bottom 0.3s ease;
}
