/**
 * RondBiz SimCard Plugin Styles
 *
 * Main stylesheet for the RondBiz SimCard plugin
 */

/* Font Face */
@font-face {
  font-family: 'Vazir';
  src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* General Styles */
.rondbiz-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px; /* This might be overridden by card styles later if .rondbiz-container becomes a card itself */
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    color: #1f2937; /* Updated primary text color */
    line-height: 1.6;
}

.rondbiz-clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.rondbiz-text-center {
    text-align: center;
}

.rondbiz-text-right {
    text-align: right;
}

.rondbiz-text-left {
    text-align: left;
}

.rondbiz-hidden {
    display: none !important;
}

/* Typography */
.rondbiz-title {
    font-size: 1.5rem; /* like .rond-search-title */
    font-weight: 700; /* like .rond-search-title */
    color: #1f2937; /* like .rond-search-title */
    margin-bottom: 1rem; /* like .rond-search-title */
    border-bottom: 1px solid #e5e7eb; /* Subtle border */
    padding-bottom: 0.5rem; /* Adjusted padding */
}

.rondbiz-subtitle {
    font-size: 1rem; /* like .rond-search-subtitle */
    color: #6b7280; /* like .rond-search-subtitle */
    margin-bottom: 0.75rem; /* like .rond-search-subtitle */
    font-weight: 400; /* Explicitly set for subtitle */
}

.rondbiz-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2563eb; /* Accent color */
    margin: 0.75rem 0; /* Consistent margin */
}

.rondbiz-label {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: block;
}

.rondbiz-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem; /* Consistent margin */
}

/* Buttons */
.rondbiz-button {
    display: inline-block;
    padding: 0.75rem 1.5rem; /* Base padding */
    background-color: #2563eb; /* Accent color */
    color: white;
    border: none;
    border-radius: 0.5rem; /* Base border-radius */
    font-size: 1rem; /* Base font size */
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.rondbiz-button:hover {
    background-color: #1d4ed8; /* Darker accent */
    color: white;
    text-decoration: none;
}

.rondbiz-button-primary {
    /* Uses base .rondbiz-button styles */
}

.rondbiz-button-primary:hover {
    /* Uses base .rondbiz-button:hover styles */
}

.rondbiz-button-secondary {
    background-color: #e5e7eb; /* Light gray */
    color: #1f2937; /* Primary text color */
}

.rondbiz-button-secondary:hover {
    background-color: #d1d5db; /* Darker gray */
    color: #1f2937;
}

.rondbiz-button-success {
    background-color: #d1fae5; /* Soft green background */
    color: #059669; /* Dark green text */
}

.rondbiz-button-success:hover {
    background-color: #a7f3d0; /* Slightly darker green */
    color: #047857;
}

.rondbiz-button-danger {
    background-color: #fee2e2; /* Soft red background */
    color: #ef4444; /* Red text */
}

.rondbiz-button-danger:hover {
    background-color: #fecaca; /* Slightly darker red */
    color: #dc2626;
}

.rondbiz-button-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.rondbiz-button-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.rondbiz-button-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Forms */
.rondbiz-form {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-form-header {
    margin-bottom: 1rem; /* Consistent spacing */
    padding-bottom: 0.75rem; /* Consistent padding */
    border-bottom: 1px solid #e5e7eb; /* Subtle border */
}

.rondbiz-form-group {
    margin-bottom: 1rem; /* Consistent spacing */
}

.rondbiz-form-control {
    width: 100%;
    padding: 0.75rem 1rem; /* From .rond-phone-input */
    font-size: 1rem; /* Adjusted from 1.125rem in ref for general form controls */
    line-height: 1.5; /* Existing */
    color: #1f2937; /* Primary text color */
    background-color: #f3f4f6; /* Accent/Input Background */
    background-clip: padding-box; /* Existing */
    border: 1px solid #f3f4f6; /* Match background, effectively borderless input on wrapper */
    border-radius: 0.75rem; /* From .rond-input-wrapper */
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; /* Keep existing transition for now */
    box-sizing: border-box; /* ensure padding doesn't expand element */
}

.rondbiz-form-control:focus {
    color: #1f2937;
    background-color: #ffffff; /* Change background to white on focus for contrast */
    border-color: #2563eb; /* Accent color for border */
    outline: 0;
    box-shadow: none; /* Remove default focus shadow, rely on border */
}

.rondbiz-form-control-sm {
    padding: 0.5rem 0.75rem; /* Adjusted padding */
    font-size: 0.875rem; /* Adjusted font size */
}

.rondbiz-form-control-lg {
    padding: 1rem 1.25rem; /* Adjusted padding */
    font-size: 1.125rem; /* Adjusted font size */
}

.rondbiz-form-check {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}

.rondbiz-form-check-input {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.rondbiz-form-check-label {
    margin-bottom: 0;
}

.rondbiz-form-text {
    display: block;
    margin-top: 0.25rem; /* Consistent spacing */
    font-size: 0.875rem; /* Smaller text */
    color: #6b7280; /* Secondary text color */
}

.rondbiz-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem; /* Adjust for consistent spacing if using negative margins */
    margin-left: -0.5rem; /* Adjust for consistent spacing */
}

.rondbiz-form-row > .rondbiz-form-group {
    padding-right: 0.5rem; /* Adjust for consistent spacing */
    padding-left: 0.5rem; /* Adjust for consistent spacing */
    flex: 0 0 100%;
}

@media (min-width: 768px) {
    .rondbiz-form-row > .rondbiz-form-group {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.rondbiz-form-submit {
    margin-top: 1.5rem; /* Consistent spacing */
    text-align: center;
}

.rondbiz-form-required {
    color: #ef4444; /* Updated danger color */
    margin-left: 0.25rem;
}

.rondbiz-form-help {
    font-size: 0.875rem; /* Smaller text */
    color: #6b7280; /* Secondary text color */
    margin-top: 0.25rem; /* Consistent spacing */
}

.rondbiz-form-error {
    color: #ef4444; /* Updated danger color */
    font-size: 0.875rem; /* Smaller text */
    margin-top: 0.25rem; /* Consistent spacing */
}

/* Search Form */
.rondbiz-search-form {
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding: 1.5rem; /* Standard card padding */
    background-color: #ffffff; /* Standard card background */
    border-radius: 1rem; /* Standard card border-radius */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Standard card shadow */
}

.rondbiz-search-form .rondbiz-form-row {
    align-items: flex-end;
}

.rondbiz-search-form .rondbiz-form-submit {
    margin-top: 0;
}

.rondbiz-search-form .rondbiz-button {
    margin-top: 1.5rem; /* Align with form group margin (approx) */
}

/* Filter Form */
.rondbiz-filter-form {
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding: 1.5rem; /* Standard card padding */
    background-color: #ffffff; /* Standard card background */
    border-radius: 1rem; /* Standard card border-radius */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Standard card shadow */
}

.rondbiz-filter-form .rondbiz-form-group {
    margin-bottom: 1rem; /* Consistent spacing */
}

.rondbiz-filter-form .rondbiz-form-row {
    margin-right: -0.5rem; /* Adjust for consistent spacing */
    margin-left: -0.5rem; /* Adjust for consistent spacing */
}

.rondbiz-filter-form .rondbiz-form-row > .rondbiz-form-group {
    padding-right: 0.5rem; /* Adjust for consistent spacing */
    padding-left: 0.5rem; /* Adjust for consistent spacing */
}

.rondbiz-filter-form .rondbiz-button {
    margin-top: 0.75rem; /* Consistent spacing */
}

.rondbiz-filter-toggle {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem; /* Consistent spacing */
    font-weight: 600;
    cursor: pointer;
    color: #2563eb; /* Accent color */
}

.rondbiz-filter-toggle:hover {
    text-decoration: underline;
}

.rondbiz-filter-toggle .dashicons {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.rondbiz-filter-toggle.active .dashicons {
    transform: rotate(180deg);
}

/* Grid System */
.rondbiz-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.rondbiz-col {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

.rondbiz-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
}

.rondbiz-col-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.rondbiz-col-3 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .rondbiz-col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .rondbiz-col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .rondbiz-col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .rondbiz-col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .rondbiz-col-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Cards */
.rondbiz-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #ffffff; /* Reference card style */
    background-clip: border-box; /* Existing */
    border: none; /* Reference card style */
    border-radius: 1rem; /* Reference card style */
    margin-bottom: 1.5rem; /* Consistent spacing */
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* Reference card style */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Existing */
    padding: 1.5rem; /* Reference card style - applied to card itself */
}

.rondbiz-card:hover {
    transform: translateY(-5px); /* Existing */
    box-shadow: 0 12px 30px -7px rgba(0,0,0,0.12), 0 10px 15px -8px rgba(0,0,0,0.12); /* Slightly enhanced shadow */
}

.rondbiz-card-header {
    padding: 0 0 1rem 0; /* Adjusted padding, bottom padding for separation */
    margin-bottom: 0; /* Reset margin */
    background-color: transparent; /* No background for header */
    border-bottom: 1px solid #e5e7eb; /* Light border */
}

.rondbiz-card-body {
    flex: 1 1 auto; /* Existing */
    padding: 1rem 0 0 0; /* Adjusted padding, top padding for separation from header/content above */
}

.rondbiz-card-title { /* Also used for general titles, specific card title style if needed */
    margin-bottom: 0.75rem; /* Consistent spacing */
    font-size: 1.25rem; /* Prompt */
    font-weight: 700; /* Prompt */
    color: #1f2937; /* Prompt */
}

.rondbiz-card-text {
    margin-bottom: 1rem; /* Consistent spacing */
    color: #374151; /* Slightly darker than secondary for general card text */
}

.rondbiz-card-footer {
    padding: 1rem 0 0 0; /* Adjusted padding, top padding for separation */
    background-color: transparent; /* No background for footer */
    border-top: 1px solid #e5e7eb; /* Light border */
}

.rondbiz-card-img-top {
    width: 100%;
    height: 180px; /* Existing */
    object-fit: cover; /* Existing */
    border-top-left-radius: 1rem; /* Match card's radius if image is at the very top */
    border-top-right-radius: 1rem; /* Match card's radius if image is at the very top */
    margin-bottom: 1rem; /* Space below image if it's inside the card padding */
}

.rondbiz-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem; /* Consistent spacing */
    font-size: 0.875rem; /* Prompt */
    color: #6b7280; /* Prompt */
}

/* Operator Badges styling like .rond-operator-badge */
.rondbiz-card-operator {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* Adjusted padding */
    font-size: 0.875rem; /* Consistent font size */
    font-weight: 500; /* Medium weight */
    border-radius: 0.5rem; /* Consistent with buttons */
    margin-bottom: 0.75rem; /* Consistent spacing */
    text-align: center;
}

.rondbiz-card-operator-mci {
    background-color: #fee2e2; /* Soft red background */
    color: #ef4444; /* Red text */
}

.rondbiz-card-operator-irancell {
    background-color: #ffedd5; /* Soft orange background */
    color: #f97316; /* Orange text */
}

.rondbiz-card-operator-rightel {
    background-color: #dcfce7; /* Soft green background */
    color: #22c55e; /* Green text */
}

.rondbiz-card-operator-other {
    background-color: #e0e7ff; /* Soft blue background */
    color: #4f46e5; /* Indigo text */
}

.rondbiz-featured-badge {
    position: absolute;
    top: 1.5rem; /* Adjust to be within padding */
    right: 1.5rem; /* Adjust to be within padding */
    background-color: #2563eb; /* Accent color */
    color: #fff;
    padding: 0.375rem 0.75rem; /* Adjusted padding */
    font-size: 0.875rem; /* Consistent font size */
    font-weight: 600;
    border-radius: 0.375rem; /* Smaller radius for badge */
    z-index: 1;
}

/* Advertisement List */
.rondbiz-ad-list {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

/* Treat each ad item as a card */
.rondbiz-ad-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem; /* Consistent spacing */
    /* Card styling from .rondbiz-card */
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: none;
}

@media (min-width: 768px) {
    .rondbiz-ad-item {
        flex-direction: row;
    }
}

.rondbiz-ad-image {
    width: 100%;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .rondbiz-ad-image {
        width: 200px;
        margin-bottom: 0;
        margin-right: 20px;
    }
}

.rondbiz-ad-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.rondbiz-ad-content {
    flex: 1;
}

.rondbiz-ad-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.rondbiz-ad-title a {
    color: inherit; /* Inherit color from .rondbiz-ad-title */
    text-decoration: none;
}

.rondbiz-ad-title a:hover {
    color: #2563eb; /* Use new accent color for hover if title is a link */
}

.rondbiz-ad-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.75rem; /* Consistent spacing, was 10px */
    font-size: 0.875rem; /* Consistent meta font size, was 14px */
    color: #6b7280; /* Consistent secondary text color */
}

.rondbiz-ad-meta-item {
    margin-right: 1rem; /* Consistent spacing */
    margin-bottom: 0.5rem; /* Consistent spacing */
}

.rondbiz-ad-meta-item .dashicons {
    font-size: 1rem; /* Consistent font size */
    width: 1rem; /* Consistent size */
    height: 1rem; /* Consistent size */
    margin-right: 0.25rem; /* Consistent spacing */
    vertical-align: middle;
}

.rondbiz-ad-excerpt {
    margin-bottom: 1rem; /* Consistent spacing */
    line-height: 1.6; /* From description */
    color: #6b7280; /* Secondary text color */
}

.rondbiz-ad-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rondbiz-ad-price {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb; /* Updated price color */
}

/* Single Advertisement - Styled as a card */
.rondbiz-single-ad {
    margin-bottom: 2rem; /* Consistent spacing */
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rondbiz-single-ad-header {
    margin-bottom: 1rem; /* Consistent spacing */
    padding-bottom: 1rem; /* Add padding if there's a border */
    border-bottom: 1px solid #e5e7eb; /* Light border */
}

.rondbiz-single-ad-title { /* This is a main title, use .rondbiz-title styling */
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem; /* Adjusted from .rondbiz-title */
    border-bottom: none; /* Remove double border if header has one */
    padding-bottom: 0;
}

.rondbiz-single-ad-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem; /* Consistent spacing */
    font-size: 0.875rem; /* Consistent meta text size */
    color: #6b7280; /* Secondary text color */
}

.rondbiz-single-ad-meta-item {
    margin-right: 1rem; /* Consistent spacing */
    margin-bottom: 0.5rem; /* Consistent spacing */
}

.rondbiz-single-ad-meta-item .dashicons {
    font-size: 1rem; /* Consistent icon size */
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem; /* Consistent spacing */
    vertical-align: middle;
}

.rondbiz-single-ad-image {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-single-ad-image img {
    width: 100%;
    max-height: 400px; /* Existing */
    object-fit: contain; /* Existing */
    border-radius: 0.75rem; /* Consistent radius */
}

.rondbiz-single-ad-content {
    margin-bottom: 1.5rem; /* Consistent spacing */
    line-height: 1.6; /* From description */
    color: #374151; /* Main text color */
}

/* Styling these as cards within the main single ad card */
.rondbiz-single-ad-details,
.rondbiz-single-ad-contact {
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding: 1.5rem;
    background-color: #ffffff; /* White background */
    border-radius: 1rem; /* Standard card radius */
    box-shadow: 0 5px 15px -3px rgba(0,0,0,0.07), 0 4px 6px -2px rgba(0,0,0,0.05); /* Softer inner shadow */
    border: 1px solid #e5e7eb; /* Light border for inner cards */
}

.rondbiz-single-ad-details-title,
.rondbiz-single-ad-contact-title {
    font-size: 1.25rem; /* Consistent title size */
    font-weight: 700;
    margin-bottom: 1rem; /* Consistent spacing */
    color: #1f2937; /* Primary text color */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}
/* Specific title color for contact section if needed, otherwise covered by above */
/*.rondbiz-single-ad-contact-title {
    color: #2563eb;
}*/

.rondbiz-single-ad-details-item {
    display: flex;
    margin-bottom: 0.75rem; /* Consistent spacing */
    padding-bottom: 0.75rem; /* Consistent spacing */
    border-bottom: 1px solid #e5e7eb; /* Light border */
}
.rondbiz-single-ad-details-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rondbiz-single-ad-details-label {
    width: 150px; /* Existing */
    font-weight: 700; /* label style */
    color: #1f2937; /* label style */
}

.rondbiz-single-ad-details-value {
    flex: 1;
    color: #374151; /* Main text color */
}

.rondbiz-single-ad-contact-item {

.rondbiz-single-ad-contact-item {
    display: flex;
    margin-bottom: 0.75rem; /* Consistent spacing */
}
.rondbiz-single-ad-contact-item:last-child{
    margin-bottom: 0;
}

.rondbiz-single-ad-contact-label {
    width: 100px; /* Existing */
    font-weight: 700; /* label style */
    color: #1f2937; /* label style */
}

.rondbiz-single-ad-contact-value {
    flex: 1;
    color: #374151; /* Main text color */
}

.rondbiz-single-ad-actions {
    margin-top: 1.5rem; /* Consistent spacing */
    text-align: center; /* Existing */
}

/* Dashboard - Styled as a card */
.rondbiz-dashboard {
    margin-bottom: 2rem; /* Consistent spacing */
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rondbiz-dashboard-header {
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.rondbiz-dashboard-title { /* Use .rondbiz-title style */
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem; /* Adjusted from .rondbiz-title */
    border-bottom: none;
    padding-bottom: 0;
}

.rondbiz-dashboard-subtitle { /* Use .rondbiz-subtitle style */
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 1rem; /* Adjusted from .rondbiz-subtitle */
}

.rondbiz-dashboard-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem; /* Consistent spacing */
    border-bottom: 1px solid #e5e7eb; /* Lighter border for the container */
}

.rondbiz-dashboard-tabs a {
    padding: 0.75rem 1rem; /* Prompt */
    margin-right: 0.5rem; /* Prompt */
    margin-bottom: -1px; /* To make the active tab's border merge with container's border */
    font-weight: 400; /* Normal weight for inactive tabs */
    color: #6b7280; /* Prompt */
    text-decoration: none; /* Prompt */
    border-bottom: 3px solid transparent; /* Prompt */
    transition: all 0.3s ease; /* Existing */
}

.rondbiz-dashboard-tabs a:hover {
    color: #2563eb; /* Prompt */
    border-bottom-color: #a5b4fc; /* Lighter version of accent for hover */
}

.rondbiz-dashboard-tabs .active {
    color: #2563eb; /* Prompt */
    border-bottom-color: #2563eb; /* Prompt */
    font-weight: 500; /* Prompt */
}

.rondbiz-dashboard-content {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-dashboard-section {
    margin-bottom: 1.5rem; /* Consistent spacing */
    /* If sections need to look like inner cards: */
    /* background-color: #f9fafb; padding: 1rem; border-radius: 0.75rem; */
}

.rondbiz-dashboard-section-title {
    font-size: 1.25rem; /* Consistent title size */
    font-weight: 700;
    margin-bottom: 1rem; /* Consistent spacing */
    color: #1f2937; /* Primary text color */
    border-bottom: 1px solid #e5e7eb; /* Light border */
    padding-bottom: 0.75rem; /* Consistent padding */
}

/* User Ads Table */
.rondbiz-user-ads-table {
    width: 100%; /* Existing */
    margin-bottom: 1rem; /* Consistent spacing */
    border-collapse: collapse; /* Existing */
}

.rondbiz-user-ads-table th,
.rondbiz-user-ads-table td {
    padding: 0.75rem 1rem; /* Prompt */
    text-align: right; /* Prompt - for Farsi */
    border-bottom: 1px solid #e5e7eb; /* Prompt */
}

.rondbiz-user-ads-table th {
    font-weight: 700; /* Prompt */
    color: #1f2937; /* Prompt */
    background-color: #f3f4f6; /* Prompt */
}

.rondbiz-user-ads-table tr:hover {
    background-color: #f9fafb; /* Subtle hover */
}

/* Status Badges */
.rondbiz-user-ads-table .rondbiz-status {
    display: inline-block;
    padding: 0.375rem 0.75rem; /* Adjusted padding */
    font-size: 0.875rem; /* Consistent font size */
    font-weight: 500;
    border-radius: 0.5rem; /* Consistent radius */
    text-align: center;
}

.rondbiz-user-ads-table .rondbiz-status-publish {
    background-color: #d1fae5; /* Soft green */
    color: #059669; /* Dark green text */
}

.rondbiz-user-ads-table .rondbiz-status-pending {
    background-color: #ffedd5; /* Soft orange */
    color: #f97316; /* Orange text */
}

.rondbiz-user-ads-table .rondbiz-status-draft {
    background-color: #e5e7eb; /* Soft gray */
    color: #4b5563; /* Gray text */
}

.rondbiz-user-ads-table .rondbiz-actions {
    display: flex;
    justify-content: flex-end;
}

.rondbiz-user-ads-table .rondbiz-actions a {
    margin-left: 0.75rem; /* Consistent spacing */
    color: #2563eb; /* Accent color */
    text-decoration: none;
}

.rondbiz-user-ads-table .rondbiz-actions a:hover {
    text-decoration: underline;
    color: #1d4ed8; /* Darker accent */
}

.rondbiz-user-ads-table .rondbiz-actions .rondbiz-delete {
    color: #ef4444; /* Danger color */
}
.rondbiz-user-ads-table .rondbiz-actions .rondbiz-delete:hover {
    color: #dc2626; /* Darker danger */
}

/* Statistics */
.rondbiz-statistics {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-statistics-summary {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem; /* Consistent spacing */
    margin-right: -0.75rem; /* Adjust for consistent card padding */
    margin-left: -0.75rem; /* Adjust for consistent card padding */
}

.rondbiz-statistics-card { /* This is the column wrapper */
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0.75rem; /* Consistent padding with negative margins */
    margin-bottom: 1.5rem; /* Consistent spacing */
}

@media (min-width: 576px) {
    .rondbiz-statistics-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .rondbiz-statistics-card {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.rondbiz-statistics-card-inner {
    /* Apply card styling to .rondbiz-statistics-card-inner */
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    text-align: center; /* Existing */
    border: none; /* Ensure no old borders */
}

.rondbiz-statistics-card-title {
    font-size: 0.875rem; /* Prompt */
    font-weight: 600; /* Existing */
    color: #6b7280; /* Prompt */
    margin-bottom: 0.5rem; /* Consistent spacing */
}

.rondbiz-statistics-card-value {
    font-size: 1.5rem; /* Prompt */
    font-weight: 700; /* Prompt */
    color: #1f2937; /* Prompt */
}

.rondbiz-statistics-chart { /* Style as a card */
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.rondbiz-statistics-chart-title {
    font-size: 1.25rem; /* Consistent title size */
    font-weight: 700;
    margin-bottom: 1rem; /* Consistent spacing */
    color: #1f2937; /* Primary text color */
}

.rondbiz-chart-container {
    position: relative;
    height: 300px;
}

/* Profile */
.rondbiz-profile {
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem; /* Consistent spacing */
    padding: 1.5rem; /* Card padding */
    background-color: #ffffff; /* Card background */
    border-radius: 1rem; /* Card radius */
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); /* Card shadow */
    text-align: center;
}

.rondbiz-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    overflow: hidden;
}

.rondbiz-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rondbiz-profile-name {
    font-size: 1.25rem; /* Consistent with .rondbiz-card-title */
    font-weight: 700;
    margin-bottom: 0.25rem; /* Reduced margin */
    color: #1f2937; /* Primary text */
}

.rondbiz-profile-email {
    font-size: 0.875rem; /* Smaller meta text */
    color: #6b7280; /* Secondary text */
    margin-bottom: 0.75rem; /* Consistent spacing */
}

.rondbiz-profile-bio {
    font-size: 0.875rem; /* Smaller text for bio */
    line-height: 1.6;
    margin-bottom: 1rem; /* Consistent spacing */
    color: #374151; /* Slightly darker than secondary for readability */
}

.rondbiz-profile-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.rondbiz-profile-stat {
    margin: 0 15px;
    text-align: center;
}

.rondbiz-profile-stat-value {
    font-size: 1.25rem; /* Adjusted size */
    font-weight: 700;
    color: #2563eb; /* Accent color */
}

.rondbiz-profile-stat-label {
    font-size: 0.75rem; /* Smaller label */
    color: #6b7280; /* Secondary text */
}

/* Pagination */
.rondbiz-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem; /* Consistent spacing */
    margin-bottom: 1.5rem; /* Consistent spacing */
}

.rondbiz-pagination a,
.rondbiz-pagination span {
    display: inline-block;
    padding: 0.5rem 0.75rem; /* Prompt */
    margin: 0 0.25rem; /* Prompt */
    border: 1px solid #e5e7eb; /* Prompt */
    border-radius: 0.5rem; /* Prompt */
    color: #2563eb; /* Prompt */
    text-decoration: none; /* Prompt */
    transition: all 0.3s ease; /* Existing */
}

.rondbiz-pagination a:hover {
    border-color: #2563eb; /* Prompt */
    background-color: #eff6ff; /* Prompt */
    color: #1d4ed8; /* Darker accent for text on hover */
}

.rondbiz-pagination .current {
    background-color: #2563eb; /* Prompt */
    border-color: #2563eb; /* Prompt */
    color: #fff; /* Prompt */
}

.rondbiz-pagination .dots {
    border: none;
}

/* Alerts */
.rondbiz-alert {
    position: relative; /* Existing */
    padding: 1rem; /* Prompt */
    margin-bottom: 1.5rem; /* Consistent spacing */
    border: 1px solid transparent; /* Base, specific below */
    border-radius: 0.75rem; /* Prompt */
    font-size: 1rem; /* Ensure consistent font size */
}

.rondbiz-alert-success {
    color: #059669; /* Prompt */
    background-color: #d1fae5; /* Prompt */
    border-color: #a7f3d0; /* Prompt */
}

.rondbiz-alert-info {
    color: #2563eb; /* Using accent blue */
    background-color: #dbeafe; /* Light blue */
    border-color: #bfdbfe; /* Lighter blue */
}

.rondbiz-alert-warning {
    color: #f59e0b; /* Amber/Yellow text */
    background-color: #fef3c7; /* Light Amber/Yellow background */
    border-color: #fde68a; /* Lighter Amber/Yellow border */
}

.rondbiz-alert-danger {
    color: #ef4444; /* Consistent danger text */
    background-color: #fee2e2; /* Consistent danger background */
    border-color: #fecaca; /* Consistent danger border */
}

.rondbiz-alert-dismissible {
    padding-right: 40px;
}

.rondbiz-alert-dismissible .rondbiz-close {
    position: absolute;
    top: 1rem; /* Adjusted to match padding */
    right: 1rem; /* Adjusted to match padding */
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: inherit;
    text-decoration: none;
    opacity: 0.5;
}

.rondbiz-alert-dismissible .rondbiz-close:hover {
    opacity: 1;
}

/* Loading */
.rondbiz-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.rondbiz-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #2563eb; /* Accent color */
    animation: rondbiz-spin 1s linear infinite;
}

@keyframes rondbiz-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal */
.rondbiz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
}

.rondbiz-modal-dialog {
    position: relative; /* Existing */
    width: 100%; /* Existing */
    max-width: 500px; /* Existing, can be adjusted if needed */
    margin: 3rem auto; /* Consistent margin, adjusted for fixed modal */
    background-color: #fff; /* Reference card style */
    border-radius: 1rem; /* Reference card style */
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); /* Reference card style */
    /* padding: 1.5rem; Applied to header/body/footer individually for more control */
}

.rondbiz-modal-header {
    padding: 1.5rem; /* Consistent padding */
    border-bottom: 1px solid #e5e7eb; /* Light border */
    display: flex; /* For alignment of title and close button */
    justify-content: space-between; /* For alignment of title and close button */
    align-items: center; /* For alignment of title and close button */
}

.rondbiz-modal-title { /* Style like .rondbiz-title */
    margin: 0; /* Existing */
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    border-bottom: none; /* Remove border from title itself */
    padding-bottom: 0;
}

.rondbiz-modal-close {
    position: static; /* Remove absolute positioning for flex layout */
    /* top: 1.5rem; Adjusted to match padding */
    /* right: 1.5rem; Adjusted to match padding */
    font-size: 1.5rem; /* Larger for better clickability */
    font-weight: 700; /* Existing */
    line-height: 1; /* Existing */
    color: #6b7280; /* Secondary text color */
    text-decoration: none; /* Existing */
    opacity: 0.7; /* Slightly more visible */
    background: none; /* Ensure no button-like background */
    border: none; /* Ensure no button-like background */
    cursor: pointer;
}

.rondbiz-modal-close:hover {
    opacity: 1;
    color: #1f2937; /* Primary text color on hover */
}

.rondbiz-modal-body {
    padding: 1.5rem; /* Consistent padding */
}

.rondbiz-modal-footer {
    padding: 1.5rem; /* Consistent padding */
    border-top: 1px solid #e5e7eb; /* Light border */
    text-align: right;
}

.rondbiz-modal-footer .rondbiz-button {
    margin-left: 10px;
}

/* Tooltip */
.rondbiz-tooltip {
    position: relative;
    display: inline-block;
}

.rondbiz-tooltip .rondbiz-tooltip-text {
    visibility: hidden;
    width: 200px; /* Existing */
    background-color: #1f2937; /* Dark background */
    color: #f3f4f6; /* Light text */
    text-align: center;
    border-radius: 0.5rem; /* Consistent radius */
    padding: 0.5rem; /* Consistent padding */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.rondbiz-tooltip .rondbiz-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -0.3125rem; /* 5px */
    border-width: 0.3125rem; /* 5px */
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent; /* Match new bg */
}

.rondbiz-tooltip:hover .rondbiz-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Image Upload */
.rondbiz-image-upload {
    margin-bottom: 20px;
}

.rondbiz-image-preview {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 150px;
    height: 150px;
    border: 2px dashed #d1d5db; /* Slightly darker dash for better visibility on white */
    border-radius: 0.75rem; /* Consistent radius */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rondbiz-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rondbiz-image-preview-placeholder {
    color: #6b7280; /* Secondary text color */
    font-size: 0.875rem; /* Consistent font size */
    text-align: center;
}

.rondbiz-image-upload-buttons {
    display: flex;
    margin-top: 10px;
}

.rondbiz-image-upload-buttons .rondbiz-button {
    margin-right: 10px;
}

/* Select2 Custom Styles */
.select2-container--default .select2-selection--single {
    /* Attempt to style like .rondbiz-form-control */
    height: auto; /* Allow padding to define height */
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    background-color: #f3f4f6;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 1.5rem + 2px); /* Approximate height of the input */
    right: 0.5rem;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #888 transparent;
    border-width: 0 4px 5px 4px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 0; /* Original padding is on the whole element */
    padding-right: 20px; /* Space for arrow */
    color: #1f2937;
    line-height: 1.5; /* Match input */
}
.select2-container--default .select2-selection--single:focus {
    border-color: #2563eb; /* Mimic focus style */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #2563eb; /* New accent color */
    color: white;
}
.select2-dropdown {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background-color: #f3f4f6;
}
.select2-results__option {
    padding: 0.5rem 1rem;
}
.select2-search--dropdown .select2-search__field {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
}
.select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #2563eb;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .rondbiz-dashboard-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .rondbiz-dashboard-tabs a {
        margin-bottom: 5px;
        border: 1px solid #dee2e6;
        border-radius: 4px;
    }
    
    .rondbiz-dashboard-tabs .active {
        border-bottom-color: #2563eb !important; /* Ensure new color and thickness for active tab */
        border-bottom-width: 3px !important;
    }
    
    .rondbiz-user-ads-table {
        display: block;
        overflow-x: auto;
    }
    
    .rondbiz-single-ad-meta {
        flex-direction: column;
    }
    
    .rondbiz-single-ad-meta-item {
        margin-right: 0;
    }
    
    .rondbiz-single-ad-details-item {
        flex-direction: column;
    }
    
    .rondbiz-single-ad-details-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .rondbiz-single-ad-contact-item {
        flex-direction: column;
    }
    
    .rondbiz-single-ad-contact-label {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Utility Classes - Updated Spacing and Colors */
/* Spacing: 1=0.25rem, 2=0.5rem, 3=0.75rem, 4=1rem, 5=1.5rem */
.rondbiz-mt-0 { margin-top: 0 !important; }
.rondbiz-mt-1 { margin-top: 0.25rem !important; } /* 4px */
.rondbiz-mt-2 { margin-top: 0.5rem !important; }  /* 8px */
.rondbiz-mt-3 { margin-top: 0.75rem !important; } /* 12px */
.rondbiz-mt-4 { margin-top: 1rem !important; }    /* 16px */
.rondbiz-mt-5 { margin-top: 1.5rem !important; }  /* 24px */

.rondbiz-mb-0 { margin-bottom: 0 !important; }
.rondbiz-mb-1 { margin-bottom: 0.25rem !important; }
.rondbiz-mb-2 { margin-bottom: 0.5rem !important; }
.rondbiz-mb-3 { margin-bottom: 0.75rem !important; }
.rondbiz-mb-4 { margin-bottom: 1rem !important; }
.rondbiz-mb-5 { margin-bottom: 1.5rem !important; }

.rondbiz-ml-0 { margin-left: 0 !important; }
.rondbiz-ml-1 { margin-left: 0.25rem !important; }
.rondbiz-ml-2 { margin-left: 0.5rem !important; }
.rondbiz-ml-3 { margin-left: 0.75rem !important; }
.rondbiz-ml-4 { margin-left: 1rem !important; }
.rondbiz-ml-5 { margin-left: 1.5rem !important; }

.rondbiz-mr-0 { margin-right: 0 !important; }
.rondbiz-mr-1 { margin-right: 0.25rem !important; }
.rondbiz-mr-2 { margin-right: 0.5rem !important; }
.rondbiz-mr-3 { margin-right: 0.75rem !important; }
.rondbiz-mr-4 { margin-right: 1rem !important; }
.rondbiz-mr-5 { margin-right: 1.5rem !important; }

.rondbiz-p-0 { padding: 0 !important; }
.rondbiz-p-1 { padding: 0.25rem !important; }
.rondbiz-p-2 { padding: 0.5rem !important; }
.rondbiz-p-3 { padding: 0.75rem !important; }
.rondbiz-p-4 { padding: 1rem !important; }
.rondbiz-p-5 { padding: 1.5rem !important; }

/* Text Colors */
.rondbiz-text-primary { color: #2563eb !important; } /* Accent Blue */
.rondbiz-text-secondary { color: #6b7280 !important; } /* Gray */
.rondbiz-text-success { color: #059669 !important; } /* Green */
.rondbiz-text-danger { color: #ef4444 !important; } /* Red */
.rondbiz-text-warning { color: #f59e0b !important; } /* Amber */
.rondbiz-text-info { color: #3b82f6 !important; } /* Lighter Blue for Info */
.rondbiz-text-light { color: #f3f4f6 !important; } /* Page background gray */
.rondbiz-text-dark { color: #1f2937 !important; } /* Main text */

/* Background Colors */
.rondbiz-bg-primary { background-color: #2563eb !important; }
.rondbiz-bg-secondary { background-color: #e5e7eb !important; } /* Gray BG */
.rondbiz-bg-success { background-color: #d1fae5 !important; }
.rondbiz-bg-danger { background-color: #fee2e2 !important; }
.rondbiz-bg-warning { background-color: #fef3c7 !important; }
.rondbiz-bg-info { background-color: #dbeafe !important; }
.rondbiz-bg-light { background-color: #f3f4f6 !important; } /* Input field / page bg */
.rondbiz-bg-dark { background-color: #1f2937 !important; }
.rondbiz-bg-white { background-color: #ffffff !important; }

.rondbiz-d-none { display: none !important; }
.rondbiz-d-block { display: block !important; }
.rondbiz-d-inline { display: inline !important; }
.rondbiz-d-inline-block { display: inline-block !important; }
.rondbiz-d-flex { display: flex !important; }

.rondbiz-justify-content-start { justify-content: flex-start !important; }
.rondbiz-justify-content-end { justify-content: flex-end !important; }
.rondbiz-justify-content-center { justify-content: center !important; }
.rondbiz-justify-content-between { justify-content: space-between !important; }
.rondbiz-justify-content-around { justify-content: space-around !important; }

.rondbiz-align-items-start { align-items: flex-start !important; }
.rondbiz-align-items-end { align-items: flex-end !important; }
.rondbiz-align-items-center { align-items: center !important; }
.rondbiz-align-items-baseline { align-items: baseline !important; }
.rondbiz-align-items-stretch { align-items: stretch !important; }

.rondbiz-w-25 { width: 25% !important; } /* Existing */
.rondbiz-w-50 { width: 50% !important; } /* Existing */
.rondbiz-w-75 { width: 75% !important; } /* Existing */
.rondbiz-w-100 { width: 100% !important; } /* Existing */

.rondbiz-rounded { border-radius: 1rem !important; } /* Updated default radius */
.rondbiz-rounded-sm { border-radius: 0.5rem !important; } /* New utility for smaller radius */
.rondbiz-rounded-lg { border-radius: 1.5rem !important; } /* New utility for larger radius */
.rondbiz-rounded-circle { border-radius: 50% !important; } /* Existing */
.rondbiz-rounded-0 { border-radius: 0 !important; } /* Existing */

/* Box Shadows - Reference: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1) */
.rondbiz-shadow-sm { box-shadow: 0 2px 5px -1px rgba(0,0,0,0.05), 0 1px 3px -1px rgba(0,0,0,0.03) !important; }
.rondbiz-shadow { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1) !important; }
.rondbiz-shadow-lg { box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 15px 30px -10px rgba(0,0,0,0.15) !important; }
.rondbiz-shadow-none { box-shadow: none !important; } /* Existing */

.rondbiz-font-weight-light { font-weight: 300 !important; }
.rondbiz-font-weight-normal { font-weight: 400 !important; }
.rondbiz-font-weight-bold { font-weight: 700 !important; }

.rondbiz-font-italic { font-style: italic !important; }

.rondbiz-text-uppercase { text-transform: uppercase !important; }
.rondbiz-text-lowercase { text-transform: lowercase !important; }
.rondbiz-text-capitalize { text-transform: capitalize !important; }

/* Animations */
@keyframes rondbiz-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.rondbiz-fadeIn {
    animation: rondbiz-fadeIn 0.5s ease-in;
}

@keyframes rondbiz-slideInUp {
    from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.rondbiz-slideInUp {
    animation: rondbiz-slideInUp 0.5s ease-in;
}

@keyframes rondbiz-pulse {
    from {
        transform: scale3d(1, 1, 1);
    }
    50% {
        transform: scale3d(1.05, 1.05, 1.05);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}

.rondbiz-pulse {
    animation: rondbiz-pulse 1s infinite;
}