/*
Theme Name: ViaVeda Child
Description: Child theme for ViaVeda
Author: ViaVeda
Template: viaveda
Version: 1.0.3
*/

/* Import parent theme styles */
@import url("../viaveda/style.css");

/* CLS Prevention Styles */
/* Set explicit dimensions for images to prevent layout shifts */
img {
    max-width: 100%;
    height: auto;
}

/* Specific fix for loader image */
#img-spinner {
    width: 50px !important;
    height: 50px !important;
    display: inline-block;
}

/* Prevent layout shifts for dynamic content */
.blog-img-top-list,
.blog-img-left-list,
.blog-detailed-grid {
    min-height: 200px;
}

/* Fix for navigation menu layout shifts */
#main-menu {
    min-height: 60px;
}

.navbar-collapse {
    min-height: 50px;
}

/* Prevent layout shifts for form elements */
input, select, textarea {
    box-sizing: border-box;
}

/* Fix for carousel/slider elements */
.slick-slider {
    min-height: 200px;
}

.slick-slide {
    min-height: 200px;
}

/* Prevent layout shifts for buttons */
.btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Fix for modal content */
.modal-content {
    min-height: 200px;
}

/* Prevent layout shifts for stepper elements */
.stepper-container {
    min-height: 100px;
}

/* Font loading optimization */
body {
    font-display: swap;
}

/* Prevent layout shifts for dynamic content areas */
#posts-content {
    min-height: 300px;
}

/* Fix for any elements that might be dynamically loaded */
[data-lazy-src] {
    min-height: 50px;
    min-width: 50px;
}

/* Ensure consistent spacing for dynamic elements */
.dynamic-content {
    min-height: 100px;
}

/* Fix for any elements that might cause layout shifts */
.layout-shift-fix {
    contain: layout style paint;
}

/*
Theme Name: Viaveda Child
Template: viaveda
/* Below you can write your style */

iframe {
    aspect-ratio: 16 / 9;
}
.rounded-md{
    border-radius: .375rem;
}

.key_highlights{
    font-size:15px;
}
.keypoint_title{
    font-weight:bold;
    font-size:15px;
    margin:20px 0 5px 0;
    color:#000;
}
.keypoint li{
    font-size:15px; 
    padding: 10px;
    text-align: justify;
}
.is_vip .keypoint_title{
    color:#fff;
}
.is_vip .key_highlights{
    color:#fff;
    font-size:15px;
}

.astrologers-listing{
    padding: 0 0 0 20px;
}

/* Live Indicator Styles */
.astrologer-card{
    background: #5c04cc;
    border-radius: 10px;
    padding: 9px;
    margin: 0px 0 10px -20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 185px;
}

.astrologer-avatar-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.astrologer-avatar-container img {
    width: 150px;
    border-radius: 90px;
}


/* Live Dot - Top Left */
.live-dot {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    background-color: #05eb00;
    border-radius: 50%;
    animation: blink 1.5s infinite;
  }
  
  /* Rating - Top Right */
  .rating-badge {
    position: absolute;
    top: 20px;
    right: 10px;
    color: #fff;
    font-size: 18px;
    padding: 2px 6px;
    font-weight: bold;
  }

  .rating-badge span {
    color:#FFD700;
  }

.astrologer-info {
    width: 100%;
    text-align: left;
    margin-top: 10px;
    padding-left: 20px;
}
.astrologer-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    cursor: pointer;
    margin-bottom: 5px;
}
.astrologer-info p {
    color: #fff;
    font-weight: 800;
    font-size: 10px;
    line-height: 15px;
}
.follow-button {
    background-color: #ff00db !important;
    color: #fff;
    border-radius: 5px;
    padding: 0px 5px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    margin-bottom: 5px;
}
.astrologer-buttons {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.astrologer-buttons button {
    cursor: pointer;
    color: #5c04cc;
    border-radius: 5px;
    border: none;
    padding: 0 7px;
    font-size: 14px;
    font-weight: 600;
    border: #fff 1px solid;
	display: inline-flex;
}

.astrologer-buttons button.disabled {
    background-color: #5c04cc;
    color: #fff;
    cursor: not-allowed;
}

.astrologer-buttons svg {
    stroke: currentColor;
    fill: none;
    width: 18px;
    padding-right: 5px;
}

.chat-full-width {
    width: 180px;
}