/* Real Estate Enquiries - Enhanced Frontend Styles */

:root {
    --re-primary: #2563eb;
    --re-primary-dark: #1e40af;
    --re-success: #10b981;
    --re-warning: #f59e0b;
    --re-danger: #ef4444;
    --re-gray-50: #f9fafb;
    --re-gray-100: #f3f4f6;
    --re-gray-200: #e5e7eb;
    --re-gray-300: #d1d5db;
    --re-gray-700: #374151;
    --re-gray-900: #111827;
}

/* Container */
.re-single-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Submission Button */
.re-submission-wrapper {
    margin: 30px 0;
}

.re-submit-enquiry-btn {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.re-submit-enquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.re-submit-enquiry-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Modal */
.re-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.re-modal.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.re-modal-content {
    background-color: #fff;
    margin: 30px auto;
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideDown 0.3s ease;
}

.re-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--re-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.re-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.re-modal-close {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.re-modal-close:hover {
    transform: rotate(90deg);
}

.re-modal-body {
    padding: 30px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

/* Form Styling */
.re-enquiry-form {
    width: 100%;
}

.re-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.re-form-section h3 {
    margin: 0 0 20px 0;
    color: var(--re-primary);
    font-size: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--re-gray-200);
}

.re-form-group {
    margin-bottom: 20px;
}

.re-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--re-gray-700);
    font-size: 14px;
}

.required {
    color: var(--re-danger);
}

.re-form-group input[type="text"],
.re-form-group input[type="email"],
.re-form-group input[type="tel"],
.re-form-group select,
.re-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--re-gray-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.re-form-group input:focus,
.re-form-group select:focus,
.re-form-group textarea:focus {
    border-color: var(--re-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.re-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.re-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.re-form-info {
    background: var(--re-gray-50);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--re-primary);
    margin-top: 20px;
}

.re-form-info p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.re-form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--re-gray-200);
}

.re-btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.re-btn-submit {
    background: linear-gradient(135deg, var(--re-success) 0%, #059669 100%);
    color: white;
    flex: 1;
    justify-content: center;
}

.re-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.re-btn-cancel {
    background: var(--re-gray-200);
    color: var(--re-gray-700);
}

.re-btn-cancel:hover {
    background: var(--re-gray-300);
}

.re-btn-loading .spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
}

.re-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}

.re-form-message.success {
    background: #d1fae5;
    border-left: 4px solid var(--re-success);
    color: #065f46;
    display: block;
}

.re-form-message.error {
    background: #fee2e2;
    border-left: 4px solid var(--re-danger);
    color: #991b1b;
    display: block;
}

/* Filter Form */
.re-filters {
    background: white;
    padding: 0;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.re-filter-header {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    padding: 25px 30px;
}

.re-filter-header h3 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 700;
}

.re-filter-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.re-filter-form {
    max-width: 100%;
}

.re-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
}

.re-filter-field {
    display: flex;
    flex-direction: column;
}

.re-filter-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--re-gray-700);
}

.re-filter-field input[type="date"],
.re-filter-field input[type="text"],
.re-filter-field select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--re-gray-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.re-filter-field input:focus,
.re-filter-field select:focus {
    border-color: var(--re-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.re-filter-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: var(--re-gray-50);
    border-top: 2px solid var(--re-gray-200);
}

.re-filter-checkbox {
    flex: 1;
}

.re-checkbox-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 10px 15px;
    background: white;
    border: 2px solid var(--re-gray-200);
    border-radius: 8px;
    transition: all 0.3s;
}

.re-checkbox-label:hover {
    border-color: var(--re-primary);
    background: var(--re-gray-50);
}

.re-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    cursor: pointer;
    accent-color: var(--re-primary);
}

.re-checkbox-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--re-gray-700);
}

.re-checkbox-text .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--re-primary);
}

.re-filter-actions {
    display: flex;
    gap: 10px;
}

.re-btn-primary {
    background: var(--re-primary);
    color: white;
}

.re-btn-primary:hover {
    background: var(--re-primary-dark);
}

.re-btn-secondary {
    background: var(--re-gray-300);
    color: var(--re-gray-700);
}

.re-btn-secondary:hover {
    background: var(--re-gray-200);
}

/* Enquiries Grid */
.re-enquiries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.re-enquiry-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid var(--re-gray-100);
    display: flex;
    flex-direction: column;
}

.re-enquiry-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.re-enquiry-card.expired {
    opacity: 0.7;
    background: var(--re-gray-50);
}

.re-enquiry-card.expiring-soon {
    border: 2px solid var(--re-warning);
}

.re-expired-badge,
.re-expiring-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.re-expired-badge {
    background: var(--re-danger);
    color: white;
}

.re-expiring-badge {
    background: var(--re-warning);
    color: white;
}

.re-expired-badge .dashicons,
.re-expiring-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.re-card-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--re-gray-100);
}

.re-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.re-enquiry-card:hover .re-card-thumbnail img {
    transform: scale(1.1);
}

.re-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.re-enquiry-card h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.4;
}

.re-enquiry-card h3 a {
    color: var(--re-gray-900);
    text-decoration: none;
    transition: color 0.3s;
}

.re-enquiry-card h3 a:hover {
    color: var(--re-primary);
}

.re-enquiry-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.re-type,
.re-property-type {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.re-type {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
}

.re-property-type {
    background: linear-gradient(135deg, var(--re-success) 0%, #059669 100%);
    color: white;
}

.re-enquiry-details {
    margin-bottom: 20px;
    flex: 1;
}

.re-detail-item {
    margin: 10px 0;
    font-size: 14px;
    color: var(--re-gray-700);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.re-detail-item .dashicons {
    color: var(--re-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.re-detail-item strong {
    color: var(--re-gray-900);
    font-weight: 600;
}

.re-agent-info {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid var(--re-gray-100);
}

.re-agent-compact {
    display: flex;
    gap: 12px;
    align-items: center;
}

.re-agent-avatar-small img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--re-gray-200);
}

.re-agent-details-compact {
    flex: 1;
}

.re-agent-name-small {
    margin: 0 0 5px 0;
    font-size: 13px;
}

.re-agent-name-small a {
    color: var(--re-primary);
    text-decoration: none;
    font-weight: 600;
}

.re-agent-name-small a:hover {
    text-decoration: underline;
}

.re-agent-phone-small {
    margin: 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.re-agent-phone-small .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--re-success);
}

.re-agent-phone-small a {
    color: var(--re-gray-700);
    text-decoration: none;
}

.re-agent-phone-small a:hover {
    color: var(--re-primary);
}

.re-card-actions {
    margin-top: 20px;
}

.re-btn-view-details {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.re-btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.re-btn-view-details .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Agents Grid */
.re-agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.re-agent-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.re-agent-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.re-agent-photo img {
    border-radius: 50%;
    width: 140px;
    height: 140px;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--re-gray-100);
}

.re-agent-card h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
}

.re-agent-card h3 a {
    color: var(--re-gray-900);
    text-decoration: none;
}

.re-agent-card h3 a:hover {
    color: var(--re-primary);
}

.re-company {
    color: var(--re-gray-700);
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.re-agent-contact {
    text-align: left;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 2px solid var(--re-gray-100);
    border-bottom: 2px solid var(--re-gray-100);
}

.re-agent-contact p {
    margin: 8px 0;
    font-size: 14px;
}

.re-enquiry-count {
    margin-top: 20px;
    font-weight: 600;
}

.re-enquiry-count a {
    color: var(--re-primary);
    text-decoration: none;
    font-size: 16px;
}

/* Single Agent Page */
.re-agent-single {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.re-agent-header-banner {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    padding: 50px 40px;
}

.re-agent-header-content {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.re-agent-photo-large {
    flex-shrink: 0;
}

.re-agent-photo-large img,
.re-agent-avatar {
    border-radius: 16px;
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.re-no-photo {
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-no-photo .dashicons {
    font-size: 100px;
    width: 100px;
    height: 100px;
    color: white;
}

.re-agent-name {
    margin: 0 0 15px 0;
    font-size: 42px;
    font-weight: 700;
}

.re-company-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
}

.re-company-name .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.re-contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.re-contact-btn {
    background: white;
    color: var(--re-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.re-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.re-btn-whatsapp {
    background: #25D366;
    color: white;
}

.re-agent-bio {
    padding: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.re-agent-bio h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--re-gray-900);
}

.re-bio-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--re-gray-700);
}

.re-agent-enquiries-section {
    padding: 50px 40px;
    background: var(--re-gray-50);
}

.re-section-header {
    max-width: 1200px;
    margin: 0 auto 30px;
}

.re-section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--re-gray-900);
}

.re-section-subtitle {
    font-size: 16px;
    color: var(--re-gray-700);
}

/* Single Enquiry Page */
.re-enquiry-single {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.re-expired-notice {
    background: #fee2e2;
    color: #991b1b;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.re-enquiry-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.re-enquiry-header {
    position: relative;
}

.re-enquiry-title-section {
    padding: 40px;
}

.re-enquiry-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.re-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.re-badge-type {
    background: var(--re-primary);
    color: white;
}

.re-badge-property {
    background: var(--re-success);
    color: white;
}

.re-enquiry-title {
    font-size: 36px;
    margin: 0 0 15px 0;
    color: var(--re-gray-900);
}

.re-enquiry-location {
    font-size: 18px;
    color: var(--re-gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-enquiry-body {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    padding: 40px;
}

.re-enquiry-section {
    margin-bottom: 40px;
}

.re-enquiry-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--re-gray-900);
    border-bottom: 2px solid var(--re-gray-200);
    padding-bottom: 10px;
}

.re-enquiry-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--re-gray-700);
}

.re-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.re-detail-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--re-gray-50);
    border-radius: 12px;
}

.re-detail-icon {
    font-size: 32px;
    color: var(--re-primary);
    flex-shrink: 0;
}

.re-detail-content strong {
    display: block;
    color: var(--re-gray-900);
    margin-bottom: 5px;
    font-size: 14px;
}

.re-detail-content p {
    margin: 0;
    color: var(--re-gray-700);
    font-size: 16px;
}

.re-sidebar-card {
    background: white;
    border: 2px solid var(--re-gray-200);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.re-sidebar-card h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: var(--re-gray-900);
    border-bottom: 2px solid var(--re-gray-200);
    padding-bottom: 10px;
}

.re-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.re-contact-item .dashicons {
    font-size: 24px;
    color: var(--re-primary);
    flex-shrink: 0;
}

.re-contact-item strong {
    display: block;
    color: var(--re-gray-900);
    margin-bottom: 3px;
    font-size: 13px;
}

.re-contact-item p {
    margin: 0;
    font-size: 15px;
}

.re-contact-item a {
    color: var(--re-primary);
    text-decoration: none;
}

.re-contact-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.re-btn-contact {
    background: var(--re-primary);
    color: white;
    width: 100%;
    justify-content: center;
}

.re-btn-contact-secondary {
    background: white;
    color: var(--re-primary);
    border: 2px solid var(--re-primary);
    width: 100%;
    justify-content: center;
}

.re-agent-info-compact {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.re-agent-photo-small img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.re-agent-details-compact h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.re-agent-details-compact a {
    color: var(--re-gray-900);
    text-decoration: none;
}

.re-agent-details-compact a:hover {
    color: var(--re-primary);
}

.re-btn-view-agent {
    background: var(--re-gray-100);
    color: var(--re-gray-700);
    width: 100%;
    justify-content: center;
}

.re-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.re-share-btn {
    flex: 1;
    min-width: calc(50% - 5px);
    background: var(--re-gray-100);
    color: var(--re-gray-700);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.re-share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.re-share-btn:hover {
    transform: translateY(-2px);
}

.re-share-whatsapp:hover {
    background: #25D366;
    color: white;
}

.re-share-facebook:hover {
    background: #1877F2;
    color: white;
}

.re-share-twitter:hover {
    background: #1DA1F2;
    color: white;
}

.re-share-email:hover {
    background: var(--re-primary);
    color: white;
}

.re-report-card {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

.re-report-description {
    font-size: 14px;
    color: var(--re-gray-700);
    margin: 10px 0 15px 0;
    line-height: 1.5;
}

.re-btn-report {
    background: var(--re-warning);
    color: white;
    width: 100%;
    justify-content: center;
    font-weight: 600;
}

.re-btn-report:hover {
    background: #d97706;
}

.re-agent-contact-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.re-btn-whatsapp,
.re-btn-call,
.re-btn-sms {
    flex: 1;
    min-width: 80px;
    padding: 10px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.re-btn-whatsapp {
    background: #25D366;
    color: white;
}

.re-btn-whatsapp:hover {
    background: #128C7E;
}

.re-btn-call {
    background: var(--re-primary);
    color: white;
}

.re-btn-call:hover {
    background: var(--re-primary-dark);
}

.re-btn-sms {
    background: var(--re-gray-200);
    color: var(--re-gray-900);
}

.re-btn-sms:hover {
    background: var(--re-gray-300);
}

.re-detail-item-single {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--re-gray-50);
    border-radius: 12px;
}

.re-detail-icon {
    font-size: 32px;
    color: var(--re-primary);
    flex-shrink: 0;
}

.re-detail-content strong {
    display: block;
    color: var(--re-gray-900);
    margin-bottom: 5px;
    font-size: 14px;
}

.re-detail-content p {
    margin: 0;
    color: var(--re-gray-700);
    font-size: 16px;
}

.re-enquiry-actions-bottom {
    padding: 30px 40px;
    border-top: 2px solid var(--re-gray-200);
}

.re-btn-back {
    background: var(--re-gray-100);
    color: var(--re-gray-700);
}

/* Pagination */
.re-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.re-pagination a,
.re-pagination span {
    padding: 10px 16px;
    border: 2px solid var(--re-gray-200);
    border-radius: 8px;
    text-decoration: none;
    color: var(--re-gray-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

.re-pagination a:hover {
    background: var(--re-primary);
    color: white;
    border-color: var(--re-primary);
    transform: translateY(-2px);
}

.re-pagination .current {
    background: var(--re-primary);
    color: white;
    border-color: var(--re-primary);
}

/* No Results */
.re-no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--re-gray-700);
    background: var(--re-gray-50);
    border-radius: 16px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .re-enquiry-body {
        grid-template-columns: 1fr;
    }
    
    .re-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .re-form-grid {
        grid-template-columns: 1fr;
    }
    
    .re-form-row {
        grid-template-columns: 1fr;
    }
    
    .re-filter-row {
        grid-template-columns: 1fr;
    }
    
    .re-filter-field {
        width: 100%;
    }
    
    .re-enquiries-grid,
    .re-agents-grid {
        grid-template-columns: 1fr;
    }
    
    .re-agent-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .re-agent-name {
        font-size: 32px;
    }
    
    .re-enquiry-title {
        font-size: 28px;
    }
    
    .re-contact-buttons {
        justify-content: center;
    }
    
    .re-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .re-form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .re-modal-content {
        width: 95%;
        margin: 15px auto;
    }
    
    .re-modal-body {
        padding: 20px;
    }
    
    .re-submit-enquiry-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Archive Layout with Sidebar */
.re-archive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.re-archive-content {
    min-width: 0;
}

.re-archive-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Sidebar Account Card */
.re-sidebar-account-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid var(--re-primary);
}

.re-account-sidebar-section {
    margin-bottom: 30px;
}

.re-account-sidebar-section:last-child {
    margin-bottom: 0;
}

.re-account-sidebar-section h3 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: var(--re-gray-900);
}

.re-sidebar-subtitle {
    font-size: 14px;
    color: var(--re-gray-700);
    margin: 0 0 20px 0;
}

.re-sidebar-account-form .re-form-group {
    margin-bottom: 15px;
}

.re-sidebar-account-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
    color: var(--re-gray-900);
}

.re-sidebar-account-form input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--re-gray-200);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.re-sidebar-account-form input:focus {
    border-color: var(--re-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.re-sidebar-account-form small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--re-gray-700);
}

.re-form-row-2-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.re-btn-sidebar-account,
.re-btn-sidebar-login {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.re-btn-sidebar-account:hover,
.re-btn-sidebar-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.re-account-sidebar-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.re-account-sidebar-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--re-gray-300);
}

.re-account-sidebar-divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: var(--re-gray-700);
    font-weight: 600;
    font-size: 14px;
}

.re-form-options-sidebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-size: 13px;
}

.re-checkbox-label-sidebar {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.re-checkbox-label-sidebar input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

/* Logged In View */
.re-logged-in-card {
    text-align: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.re-welcome-section {
    margin-bottom: 25px;
}

.re-welcome-icon {
    margin-bottom: 15px;
}

.re-welcome-icon .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--re-success);
}

.re-welcome-section h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: var(--re-gray-900);
}

.re-user-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--re-gray-900);
    margin: 5px 0;
}

.re-user-email {
    font-size: 14px;
    color: var(--re-gray-700);
    margin: 5px 0;
}

.re-account-actions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.re-btn-profile,
.re-btn-logout {
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.re-btn-profile {
    background: var(--re-primary);
    color: white;
}

.re-btn-profile:hover {
    background: var(--re-primary-dark);
    transform: translateY(-2px);
}

.re-btn-logout {
    background: white;
    color: var(--re-gray-700);
    border: 2px solid var(--re-gray-300);
}

.re-btn-logout:hover {
    background: var(--re-gray-50);
    border-color: var(--re-gray-400);
}

.re-btn-profile .dashicons,
.re-btn-logout .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Sidebar form messages */
#reSidebarRegisterMessage,
#reSidebarLoginMessage {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 13px;
}

#reSidebarRegisterMessage.success,
#reSidebarLoginMessage.success {
    background: #d1fae5;
    border-left: 4px solid var(--re-success);
    color: #065f46;
}

#reSidebarRegisterMessage.error,
#reSidebarLoginMessage.error {
    background: #fee2e2;
    border-left: 4px solid var(--re-danger);
    color: #991b1b;
}

/* Responsive */
@media (max-width: 1024px) {
    .re-archive-container {
        grid-template-columns: 1fr;
    }
    
    .re-archive-sidebar {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .re-form-row-2-sidebar {
        grid-template-columns: 1fr;
    }
}

/* Account Bar Styles */
.re-account-bar {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.re-account-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.re-site-tagline {
    font-size: 16px;
    font-weight: 600;
}

.re-account-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.re-header-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.re-header-btn:hover {
    background: white;
    color: var(--re-primary);
    border-color: white;
}

.re-header-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.re-register-btn {
    background: white;
    color: var(--re-primary);
    border-color: white;
}

.re-register-btn:hover {
    background: rgba(255,255,255,0.9);
}

/* User Menu */
.re-user-menu {
    position: relative;
}

.re-user-menu-trigger {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.re-user-menu-trigger:hover {
    background: rgba(255,255,255,0.3);
}

.re-user-menu-trigger .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.re-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.re-user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.re-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--re-gray-900);
    text-decoration: none;
    transition: background 0.2s;
}

.re-dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.re-dropdown-item:last-child {
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--re-gray-200);
}

.re-dropdown-item:hover {
    background: var(--re-gray-50);
}

.re-dropdown-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--re-primary);
}

/* Account Modal Styles */
.re-account-modal .re-modal-content {
    max-width: 500px;
}

.re-account-tabs-inline {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--re-gray-200);
}

.re-tab-link {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: var(--re-gray-700);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.re-tab-link.active {
    color: var(--re-primary);
    border-bottom-color: var(--re-primary);
}

.re-tab-pane {
    display: none;
}

.re-tab-pane.active {
    display: block;
}

/* Sidebar Contact Form */
.re-sidebar-contact-form {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--re-primary);
}

.re-sidebar-contact-form h3 {
    color: var(--re-primary);
    margin: 0 0 10px 0;
}

.re-sidebar-subtitle {
    font-size: 14px;
    color: var(--re-gray-700);
    margin: 0 0 20px 0;
}

.re-sidebar-form .re-form-group {
    margin-bottom: 15px;
}

.re-sidebar-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 13px;
    color: var(--re-gray-900);
}

.re-sidebar-form input,
.re-sidebar-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid var(--re-gray-200);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.re-sidebar-form input:focus,
.re-sidebar-form textarea:focus {
    border-color: var(--re-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.re-sidebar-form textarea {
    resize: vertical;
}

.re-btn-sidebar-submit {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.re-btn-sidebar-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.re-btn-sidebar-submit .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Sidebar form message */
#reSidebarMessage {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    display: none;
    font-size: 14px;
}

#reSidebarMessage.success {
    background: #d1fae5;
    border-left: 4px solid var(--re-success);
    color: #065f46;
}

#reSidebarMessage.error {
    background: #fee2e2;
    border-left: 4px solid var(--re-danger);
    color: #991b1b;
}

/* Contact Form Styles */
.re-contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 40px auto;
}

.re-contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.re-contact-header h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: var(--re-gray-900);
}

.re-contact-header p {
    font-size: 16px;
    color: var(--re-gray-700);
    margin: 0;
}

.re-contact-form .re-form-group {
    margin-bottom: 20px;
}

.re-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.re-btn-submit-contact,
.re-btn-submit-account {
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    color: white;
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.re-btn-submit-contact:hover,
.re-btn-submit-account:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Account System Styles */
.re-account-system {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 40px auto;
    overflow: hidden;
}

.re-account-tabs {
    display: flex;
    background: var(--re-gray-100);
}

.re-tab-btn {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--re-gray-700);
}

.re-tab-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.re-tab-btn.active {
    background: white;
    color: var(--re-primary);
}

.re-tab-content {
    display: none;
    padding: 40px;
}

.re-tab-content.active {
    display: block;
}

.re-tab-header {
    text-align: center;
    margin-bottom: 30px;
}

.re-tab-header h2 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: var(--re-gray-900);
}

.re-tab-header p {
    font-size: 16px;
    color: var(--re-gray-700);
    margin: 0;
}

.re-account-form .re-form-group {
    margin-bottom: 20px;
}

.re-account-form small {
    display: block;
    margin-top: 5px;
    color: var(--re-gray-700);
    font-size: 13px;
}

.re-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.re-forgot-link {
    color: var(--re-primary);
    text-decoration: none;
    font-size: 14px;
}

.re-forgot-link:hover {
    text-decoration: underline;
}

/* Logged In View */
.re-account-logged-in {
    max-width: 600px;
    margin: 40px auto;
}

.re-welcome-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    text-align: center;
}

.re-welcome-header {
    margin-bottom: 20px;
}

.re-welcome-header .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: var(--re-success);
    margin-bottom: 15px;
}

.re-welcome-header h2 {
    font-size: 28px;
    margin: 0;
    color: var(--re-gray-900);
}

.re-welcome-card p {
    font-size: 16px;
    color: var(--re-gray-700);
    margin: 0 0 30px 0;
}

.re-account-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.re-account-actions .re-btn {
    padding: 14px 28px;
}

/* User Dashboard Styles */

.re-user-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.re-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--re-primary) 0%, var(--re-primary-dark) 100%);
    border-radius: 16px;
    color: white;
}

.re-user-welcome h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
}

.re-user-email,
.re-user-phone {
    margin: 5px 0;
    opacity: 0.9;
}

.re-dashboard-actions {
    display: flex;
    gap: 15px;
}

.re-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.re-stat-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.re-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.re-stat-published .re-stat-icon {
    background: #d1fae5;
}

.re-stat-published .dashicons {
    color: var(--re-success);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.re-stat-pending .re-stat-icon {
    background: #fef3c7;
}

.re-stat-pending .dashicons {
    color: var(--re-warning);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.re-stat-expired .re-stat-icon {
    background: #fee2e2;
}

.re-stat-expired .dashicons {
    color: var(--re-danger);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.re-stat-total .re-stat-icon {
    background: #e0f2fe;
}

.re-stat-total .dashicons {
    color: var(--re-primary);
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.re-stat-content h3 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    color: var(--re-gray-900);
}

.re-stat-content p {
    margin: 5px 0 0;
    color: var(--re-gray-700);
    font-size: 14px;
}

.re-dashboard-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.re-dashboard-content h2 {
    margin: 0 0 30px 0;
    font-size: 28px;
    color: var(--re-gray-900);
    border-bottom: 2px solid var(--re-gray-200);
    padding-bottom: 15px;
}

.re-user-enquiries-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.re-user-enquiry-item {
    border: 2px solid var(--re-gray-200);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.re-user-enquiry-item:hover {
    border-color: var(--re-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.re-enquiry-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.re-enquiry-item-header h3 {
    margin: 0;
    font-size: 20px;
    flex: 1;
}

.re-enquiry-item-header h3 a {
    color: var(--re-gray-900);
    text-decoration: none;
}

.re-enquiry-item-header h3 a:hover {
    color: var(--re-primary);
}

.re-status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.re-status-published {
    background: #d1fae5;
    color: #065f46;
}

.re-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.re-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.re-enquiry-item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.re-enquiry-item-details .re-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--re-gray-700);
}

.re-enquiry-item-details .dashicons {
    color: var(--re-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.re-enquiry-item-message {
    background: #e0f2fe;
    border-left: 4px solid var(--re-primary);
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--re-gray-900);
}

.re-enquiry-item-message .dashicons {
    color: var(--re-primary);
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.re-no-enquiries {
    text-align: center;
    padding: 60px 20px;
}

.re-no-enquiries .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: var(--re-gray-300);
    margin-bottom: 20px;
}

.re-no-enquiries h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: var(--re-gray-900);
}

.re-no-enquiries p {
    margin: 0 0 25px 0;
    color: var(--re-gray-700);
    font-size: 16px;
}

/* Login Required Modal */
.re-modal-small {
    max-width: 500px;
}

.re-login-required-content {
    text-align: center;
    padding: 20px;
}

.re-login-icon {
    margin-bottom: 20px;
}

.re-login-icon .dashicons {
    font-size: 80px;
    width: 80px;
    height: 80px;
    color: var(--re-warning);
}

.re-login-required-content h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: var(--re-gray-900);
}

.re-login-required-content p {
    margin: 0 0 30px 0;
    color: var(--re-gray-700);
    line-height: 1.6;
}

.re-login-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.re-login-actions .re-btn {
    justify-content: center;
}

.re-login-required-message {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.re-login-required-message p {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: var(--re-gray-700);
}

/* Share Card Subtitle */
.re-share-subtitle {
    font-size: 14px;
    color: var(--re-gray-700);
    margin: 0 0 15px 0;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .re-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .re-dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .re-dashboard-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .re-dashboard-actions .re-btn {
        width: 100%;
        justify-content: center;
    }
    
    .re-user-welcome h1 {
        font-size: 24px;
    }
    
    .re-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .re-enquiry-item-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .re-status-badge {
        align-self: flex-start;
    }
    
    .re-enquiry-item-details {
        flex-direction: column;
        gap: 10px;
    }
}

/* Add New Enquiry Button in Archive */
.re-archive-add-enquiry {
    margin-bottom: 30px;
}

.re-archive-add-enquiry .re-submit-enquiry-btn {
    display: inline-flex;
}