form#ta-login-form {
    display: table-caption;
}
.business-archive-item .entry-title {
    text-align: justify !important;
}
form#ta-business-reg-form fieldset p {
	display: inline-grid !important;
}
form#ta-business-reg-form fieldset {
    display: flow;
}
form#ta-business-reg-form .material-icons{
	top: 5px;
    position: relative;
}
#ta_bus_plan_id {
    padding: 9px;
}
/* Password Strength Meter Styles */
.password-strength-meter {
    margin-top: 5px;
    padding: 3px 8px;
    font-size: 0.85em;
    text-align: center;
    border-radius: 3px;
    border: 1px solid transparent; /* Base border */
}
.ta-dashboard-section.profile-edit {
    background: lightgreen;
    padding: 15px;
    border-radius: 30px;
	margin-bottom: 50px;
}
.ta-dashboard-section.business-management {
	width: 90%;
}
/* Different strength levels */
.password-strength-meter.empty {
    /* Optional: Style for initial empty state */
    /* background-color: #eee; */
    /* border-color: #ddd; */
    color: #777;
}
.password-strength-meter.short {
    background-color: #ffcdd2; /* Light Red */
    border-color: #e57373;
    color: #b71c1c;
}
.password-strength-meter.bad {
    background-color: #ffecb3; /* Light Orange/Yellow */
    border-color: #ffd54f;
    color: #e65100;
}
.password-strength-meter.good {
    background-color: #fff9c4; /* Light Yellow */
    border-color: #fff176;
    color: #f57f17;
}
.password-strength-meter.strong {
    background-color: #c8e6c9; /* Light Green */
    border-color: #81c784;
    color: #1b5e20;
}

/* Password Match Indicator Styles */
.password-match-meter {
    display: inline-block; /* Show next to confirm field maybe? */
    margin-left: 10px;
    font-weight: bold;
}
.password-match-meter.match {
    color: #f4a800;
    background-color: white;
    border-radius: 5px;
    font-size: 0.9em;
}
.password-match-meter.mismatch {
    color: #f4a800;
    background-color: white;
    border-radius: 5px;
    font-size: 0.9em;
}

.trustanalyser-account-dashboard {
    background-color: #ffffff;
    color: #000000;
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-items: anchor-center;
}

.ta-logout-link a {
    text-align: center;
    background-color: #c91f1f;
    color: white;
    padding: 13px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.2rem;
}


div.trustanalyser-account-dashboard h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000000;
}

.business-logo img {
    width: 150px;
    height: auto;
    max-width: 150px; /* Adjust as needed */
    margin: 0 auto; /* Center the image */
    border-radius: 40px; /* Optional: Add border radius for rounded corners */
}

section#primary.content-area.single-business-page article {
    background-color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

#primary {
    margin-top: 17px;
	margin-bottom: 80px !important;
}

.entry-title {
    font-size: 6vw;
    text-align: center;
}
#business-reviews {
    margin-bottom: 50px;
    margin-top: 50px;
}

table.business-details-table.text-color-change {
    border: solid;
    width: 95%;
    margin: 10px;
    text-align: center;
    border-radius: 20px;
    font-size: 18px;
	background: aquamarine;
    margin: -1px;
	padding-inline: 5px;
}
.single-business-th {
    border: solid black;
    border-radius: 15px;
    background: white;
}
a {
    text-decoration: none;
}
li.business-list-item-for-account-dashboard {
    margin-bottom: 25px;
    border-radius: 8px;
    width: 100%;
    color: #000000;
}

/* Account Dashboard - Business Management List Marker Fix */
.ta-dashboard-section.business-management ul {
    list-style-type: none; /* Default bullet/number hatao */
    padding-left: 0; /* Default indentation hatao */
    margin-left: 0; /* Extra margin hatao (agar ho toh) */
  }

.ta-dashboard-section.business-management ul > li.business-list-item::marker {
    content: "";
    display: none;
  }

.already-reviewed-message {
    color: rgb(0, 0, 0);
}


  /* Responsive styles */
@media screen and (max-width: 800px) {
    .business-logo img {
        min-width: 90px; /* Adjust as needed */
        width: 100%;
    }
}
/* Add a new wrapper for top section (rating, whatsapp, trust score) */
.business-info-top-section {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto the next line */
    align-items: flex-start; /* Aligns items to the top of the cross-axis */
    justify-content: space-between; /* Spaces out items horizontally */
    margin-bottom: 20px; /* Space below this entire section */
    gap: 15px; /* Gap between trust score and rating/whatsapp container on large screens */
}

/* Trust Score Styling */
.trust-score-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px; /* Spacing between score and info icon */
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    flex-shrink: 0; /* Prevents trust score from shrinking */
    min-width: 150px; /* Minimum width for trust score */
    margin-top: 0; /* Resets any previous top margin */
}

.trust-score-display {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    overflow: hidden;
    box-shadow: inset 0 0 0 5px rgba(0,0,0,0.1);
}

.trust-score-inner-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform-origin: center;
    transition: transform 0.5s ease-out, background-color 0.5s ease-out;
    opacity: 0.9;
}

.trust-score-value {
    position: relative;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.trust-score-info-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5em;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: color 0.3s ease;
}

.trust-score-info-icon:hover {
    color: #0056b3;
}

.trust-score-tooltip {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    width: 300px;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 15px);
    font-size: small; /* Changed from 0.9em to small for readability */
    line-height: 1.6;
    text-align: left;
    white-space: normal;
}

.trust-score-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}


/* Rating and WhatsApp Button Container Styling */
.rating-and-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* Horizontal padding */
    flex-wrap: wrap; /* Allows items to wrap within this container */
    gap: 15px; /* Gap between rating and whatsapp button */
    flex-grow: 1; /* Allows this container to grow and take available space */
    min-width: 250px; /* Minimum width to prevent crushing on medium screens */
}

.business-rating-summary {
    flex-shrink: 0; /* Prevents shrinking */
    /* Add any specific rating summary styles here */
}

.whatsapp-button-container-holder {
    flex-shrink: 0; /* Prevents shrinking */
}

/* WhatsApp Button Styling (Moved from inline to CSS for better management) */
.trustanalyser-whatsapp-button-container {
    text-align: right; /* Aligns the button to the right within its space */
}

.trustanalyser-whatsapp-button {
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    display: inline-block;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.trustanalyser-whatsapp-button:hover {
    background-color: #1DA851; /* Darker green on hover */
}

.trustanalyser-whatsapp-button .dashicons {
    vertical-align: middle;
    margin-right: 5px;
}

/* Media query for screens <= 768px */
@media (max-width: 768px) {
    .business-info-top-section {
        flex-direction: column; /* Stacks trust score and rating/whatsapp container vertically */
        align-items: center; /* Centers items horizontally */
        gap: 20px; /* More vertical space between stacked items */
        padding: 0 10px; /* Adjust overall padding for smaller screens */
    }

    .trust-score-wrapper {
        width: -webkit-fill-available; /* Trust score takes full width */
        order: 1; /* Trust score on top */
        margin-bottom: 0; /* Gap handles vertical spacing */
    }

    .rating-and-cta-container {
        width: 100%; /* Rating/WhatsApp container takes full width */
        order: 2; /* Below trust score */
        flex-direction: row; /* Keeps rating and whatsapp in a row */
        justify-content: space-between; /* Spaces them out */
        align-items: center; /* Aligns them vertically */
        padding: 0; /* Remove padding if inner elements provide it */
    }

    .business-rating-summary {
        width: auto; /* Allow content to dictate width */
        flex-grow: 1; /* Allows it to grow and take available space */
        text-align: left; /* Keep text left-aligned */
    }

    .whatsapp-button-container-holder {
        width: auto; /* Allow content to dictate width */
        flex-grow: 1; /* Allows it to grow and take available space */
        text-align: right; /* Keep whatsapp button right-aligned */
    }

    /* Adjust tooltip positioning for smaller screens to ensure it's visible */
    .trust-score-tooltip {
        width: 200px;
        left: 10%;
        transform: translateX(-50%);
        top: calc(100% + 15px);
    }
    .trust-score-tooltip::before {
        left: 50%;
        transform: translateX(-50%);
    }
}