/*
Theme Name: SociaBlend v.3.7
Theme URI: http://SociaBlend.com/SociaBlend/
Author: Coley Rayle
Author URI: http://SociaBlend.com
Description: A WordPress theme using AdminLTE Bootstrap template.
Version: 3.6 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: bootstrap, admin, dashboard
Text Domain: SociaBlend-theme
*/

/* Global page styles for login and registration */
body.login-page,
body.register-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}

/* Container boxes for login and registration */
.login-box,
.register-box {
    width: 320px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), 
                0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-box:hover,
.register-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15),
                0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Common logo styles */
.login-logo,
.register-logo {
    text-align: center;
    margin-bottom: 15px;
}

.login-logo img,
.register-logo img {
    max-width: 100px;
    height: auto;
}

/* Input group styles */
.input-group {
    margin-bottom: 10px;
}

.input-group .form-control {
    height: 36px;
    padding: 8px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.input-group-append .input-group-text {
    height: 36px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-left: 0;
    border-radius: 0 4px 4px 0;
}

.input-group-append .input-group-text .fas {
    color: #777;
    font-size: 14px;
}

/* Button styles */
.btn-primary {
    width: 100%;
    padding: 6px; /* standardized padding */
    font-size: 10px;
    background-color: #6aa693;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #5a8f7d;
}

/* Messages and errors */
.login-box-msg,
.login-error {
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
    text-align: center;
}

.login-error {
    color: #dc3545;
    font-size: 13px;
}

/* Social authentication buttons */
.social-auth-links {
    margin-top: 15px;
}

.social-auth-links .btn {
    margin-bottom: 8px;
    width: 100%;
    padding: 8px;
    font-size: 13px;
    border-radius: 4px;
}

.social-auth-links .btn-primary {
    background-color: #3b5998;
}

.social-auth-links .btn-danger {
    background-color: #db4437;
}

/* Checkbox groups */
.checkbox-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.icheck-primary {
    display: flex;
    align-items: center;
}

.icheck-primary label {
    margin-left: 5px;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-box,
    .register-box {
        width: 90%;
        padding: 15px;
    }

    .login-logo img,
    .register-logo img {
        max-width: 100px;
    }

    .input-group .form-control {
        font-size: 12px;
    }

    .btn-primary {
        font-size: 13px;
    }
}

.navbar-badge {
    background-color: #6aa693 !important;
    color: #fff !important;
}


.ribbon-wrapper {
  width: 75px;
  height: 75px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
}

.ribbon {
  font-size: 0.75rem;
  text-align: center;
  line-height: 20px;
  transform: rotate(45deg);
  width: 100px;
  background-color: #6aa693 !important;; /* Green theme color */
  color: #fff !important;;
  position: relative;
  top: 12px;
  right: -20px;
}
.profile-card-icons i {
  font-size: 1rem;
}
.card-footer a {
  font-size: 1.2rem;
  margin: 0 0.5rem;
}

#globalModal .btn-outline-success {
  color: #6aa693 !important;; /* Theme green color */
  border-color: #6aa693 !important;
}

#globalModal .btn-outline-success:hover,
#globalModal .btn-outline-success:focus {
  background-color: #28a745;
  color: #fff;
}

    /* Custom styles for the messaging modal */
#messagingModal {
  display: none; /* Hide by default (Bootstrap will show it when called via .modal('show')) */
  position: fixed;
  bottom: 0;
  right: 0;
  margin: 0;
  width: 320px;
  max-width: 90vw;
  height: auto;
  z-index: 1050; /* Make sure it’s above other elements */
}

#messagingModal .modal-dialog {
  margin: 0;
  width: 100%;
  max-height: 90vh;
}

#messagingModal .modal-content {
  border-radius: 0.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

#messagingModal .card {
  margin: 0;
  border: none;
}

#messagingModal .card-footer {
  border-top: 1px solid #dee2e6;
}
/* Position modal bottom-right */
.modal-bottom-right {
  position: fixed;
  right: 0;
  bottom: 0;
  margin: 0;
  transform: none !important; /* remove default translateY(-50%) center effect */
}

.modal-bottom-right .modal-content {
  margin: 0;
}
/* Profile Template Specific */

  .nav-pills .nav-link:hover,
  .nav-pills .nav-link.active {
    background-color: #6aa693;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(106, 166, 147, 0.6);
  }
  .card {
    border: 1px solid #6aa693;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(106, 166, 147, 0.25);
  }
  .avatar-camera-overlay {
    position: absolute;
    bottom: -10px;
    right: -10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
  }
  .avatar-camera-overlay:hover {
    opacity: 0.8;
  }
  
  #photosGallery img,
  #videosGallery video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
  }

  .delete-media-btn {
    z-index: 2;
  }

  #photosGallery .col-md-4,
  #videosGallery .col-md-4 {
    position: relative;
  }

/* Prevent the card from stretching downward during tab switch */
.tab-pane {
  min-height: 200px; /* Prevents height flicker */
}

/* Optional: smooth transition */
.tab-pane.fade {
  transition: opacity 0.15s linear;
}

/* Fix media layout consistency */
#photosGallery img,
#videosGallery video {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* Prevent layout shift when switching tabs */
#photosContent {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#photosGallery, #videosGallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

#photosGallery .col-md-4,
#videosGallery .col-md-4 {
  max-width: 100%; /* prevent overflow */
  flex: 0 0 calc(33.333% - 15px); /* 3 per row with gap */
}

#photosGallery .col-md-4 img {
  display: block;
}

/* Optional: constrain tab content max height and allow scrolling if needed */
.tab-content > .tab-pane {
  max-height: 600px;
  overflow-y: auto;
}

.platform-disabled-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* blocks clicks */
}

.sb-ad-card .sb-ad-label{
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

