/* Consolidated WP Retreats Listings CSS */

/* Directory Container */
body .wpretreats-directory {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff !important;
    color: #333333 !important;
}

/* Directory Filters */
body .wpretreats-directory .directory-filters {
    margin-bottom: 30px;
    background: #f8fafc !important;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

body .wpretreats-directory .search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

body .wpretreats-directory .directory-filters select,
body .wpretreats-directory .directory-filters input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #e6e8eb !important;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333 !important;
    width: 100%;
}

body .wpretreats-directory .search-row input[type="text"] {
    flex: 1;
    min-width: 300px;
}

body .wpretreats-directory .directory-filters select:focus,
body .wpretreats-directory .directory-filters input[type="text"]:focus {
    outline: none;
    border-color: #48cae4 !important;
    box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.1);
    transform: translateY(-1px);
}

/* Search and Clear Buttons */
body .wpretreats-directory .search-button,
body .wpretreats-directory .clear-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

body .wpretreats-directory .search-button {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .search-button:hover {
    background: linear-gradient(135deg, #00b4d8, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .clear-button {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .clear-button:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    transform: translateY(-1px);
}

body .wpretreats-directory .search-icon,
body .wpretreats-directory .clear-icon {
    font-size: 16px;
}

/* Loading Message */
body .wpretreats-directory .loading-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc !important;
    border-radius: 16px;
    border: 2px solid #48cae4 !important;
    margin: 30px 0;
    grid-column: 1 / -1;
    color: #48cae4 !important;
    font-size: 1.2em;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Listings Grid */
body .wpretreats-directory .listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Listing Card */
body .wpretreats-directory .listing-card {
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
}

body .wpretreats-directory .listing-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: #48cae4 !important;
}

/* Listing Image */
body .wpretreats-directory .listing-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .wpretreats-directory .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

body .wpretreats-directory .listing-card:hover .listing-image img {
    transform: scale(1.05);
}

/* Placeholder Image */
body .wpretreats-directory .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    color: #6b7280 !important;
    text-align: center;
    padding: 20px;
}

body .wpretreats-directory .placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.7;
}

body .wpretreats-directory .placeholder-text {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1.3;
}

/* Listing Header */
body .wpretreats-directory .listing-header {
    margin: 0 20px 15px 20px;
    padding: 15px 0 12px 0;
    border-bottom: 1px solid #edf2f7 !important;
    position: relative;
}

body .wpretreats-directory .listing-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    color: #333333 !important;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Listing Category */
body .wpretreats-directory .listing-category {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    display: inline-block;
    box-shadow: 0 1px 6px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .listing-category.category-hover {
    animation: pulse 0.6s ease-in-out;
    transform: scale(1.05);
}

/* Listing Content */
body .wpretreats-directory .listing-content {
    margin: 0 20px 20px 20px;
    flex-grow: 1;
}

body .wpretreats-directory .listing-description {
    color: #5f6c7b !important;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
}

/* Listing Contact */
body .wpretreats-directory .listing-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .wpretreats-directory .listing-contact .phone {
    color: #333333 !important;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body .wpretreats-directory .listing-contact .phone::before {
    content: '📞';
    font-size: 16px;
}

/* Consolidated WP Retreats Listings CSS */

/* Directory Container */
body .wpretreats-directory {
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #ffffff !important;
    color: #333333 !important;
}

/* Directory Filters */
body .wpretreats-directory .directory-filters {
    margin-bottom: 30px;
    background: #f8fafc !important;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

body .wpretreats-directory .search-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

body .wpretreats-directory .directory-filters select,
body .wpretreats-directory .directory-filters input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #e6e8eb !important;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333 !important;
    width: 100%;
}

body .wpretreats-directory .search-row input[type="text"] {
    flex: 1;
    min-width: 300px;
}

body .wpretreats-directory .directory-filters select:focus,
body .wpretreats-directory .directory-filters input[type="text"]:focus {
    outline: none;
    border-color: #48cae4 !important;
    box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.1);
    transform: translateY(-1px);
}

/* Search and Clear Buttons */
body .wpretreats-directory .search-button,
body .wpretreats-directory .clear-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

body .wpretreats-directory .search-button {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .search-button:hover {
    background: linear-gradient(135deg, #00b4d8, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .clear-button {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .clear-button:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    transform: translateY(-1px);
}

body .wpretreats-directory .search-icon,
body .wpretreats-directory .clear-icon {
    font-size: 16px;
}

/* Loading Message */
body .wpretreats-directory .loading-message {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc !important;
    border-radius: 16px;
    border: 2px solid #48cae4 !important;
    margin: 30px 0;
    grid-column: 1 / -1;
    color: #48cae4 !important;
    font-size: 1.2em;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Listings Grid */
body .wpretreats-directory .listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Listing Card */
body .wpretreats-directory .listing-card {
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease-out;
}

body .wpretreats-directory .listing-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    border-color: #48cae4 !important;
}

/* Listing Image */
body .wpretreats-directory .listing-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .wpretreats-directory .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

body .wpretreats-directory .listing-card:hover .listing-image img {
    transform: scale(1.05);
}

/* Placeholder Image */
body .wpretreats-directory .placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
    color: #6b7280 !important;
    text-align: center;
    padding: 20px;
}

body .wpretreats-directory .placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.7;
}

body .wpretreats-directory .placeholder-text {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    line-height: 1.3;
}

/* Listing Header */
body .wpretreats-directory .listing-header {
    margin: 0 20px 15px 20px;
    padding: 15px 0 12px 0;
    border-bottom: 1px solid #edf2f7 !important;
    position: relative;
}

body .wpretreats-directory .listing-header h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    color: #333333 !important;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Listing Category */
body .wpretreats-directory .listing-category {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
    display: inline-block;
    box-shadow: 0 1px 6px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .listing-category.category-hover {
    animation: pulse 0.6s ease-in-out;
    transform: scale(1.05);
}

/* Listing Content */
body .wpretreats-directory .listing-content {
    margin: 0 20px 20px 20px;
    flex-grow: 1;
}

body .wpretreats-directory .listing-description {
    color: #5f6c7b !important;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
}

/* Listing Contact */
body .wpretreats-directory .listing-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body .wpretreats-directory .listing-contact .phone {
    color: #333333 !important;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

body .wpretreats-directory .listing-contact .phone::before {
    content: '📞';
    font-size: 16px;
}

body .wpretreats-directory .listing-contact .website {
    color: #48cae4 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

body .wpretreats-directory .listing-contact .website::before {
    content: '🌐';
    font-size: 16px;
}

body .wpretreats-directory .listing-contact .website:hover {
    color: #00b4d8 !important;
    transform: translateX(4px);
}

body .wpretreats-directory .listing-contact .address {
    color: #6b7280 !important;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7 !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

body .wpretreats-directory .listing-contact .address::before {
    content: '📍';
    font-size: 14px;
    margin-top: 1px;
}

/* Listing Actions */
body .wpretreats-directory .listing-actions {
    text-align: center;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #edf2f7 !important;
    margin-top: auto;
}

body .wpretreats-directory .view-details-btn,
body .wpretreats-directory .claim-listing-btn {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .wpretreats-directory .view-details-btn:hover,
body .wpretreats-directory .claim-listing-btn:hover {
    background: linear-gradient(135deg, #00b4d8, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .view-details-btn:disabled,
body .wpretreats-directory .claim-listing-btn:disabled {
    background: #e6e8eb !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body .wpretreats-directory .claimed-notice {
    color: #2a9d8f !important;
    font-weight: 600;
    font-style: italic;
    background: #e6fcf5 !important;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* No Results Styling */
body .wpretreats-directory .no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc !important;
    border-radius: 16px;
    border: 2px dashed #e6e8eb !important;
    margin: 30px 0;
    grid-column: 1 / -1;
}

body .wpretreats-directory .no-results h4 {
    color: #5f6c7b !important;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

body .wpretreats-directory .no-results p {
    color: #6b7280 !important;
    font-size: 16px;
    margin: 0;
}

body .wpretreats-directory .no-results a {
    color: #48cae4 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

body .wpretreats-directory .no-results a:hover {
    color: #00b4d8 !important;
    text-decoration: underline;
}

/* Search Suggestions */
body .wpretreats-directory .search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

body .wpretreats-directory .suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #edf2f7 !important;
    transition: all 0.2s ease;
    font-size: 14px;
}

body .wpretreats-directory .suggestion-item:hover {
    background: #f8fafc !important;
    color: #48cae4 !important;
    transform: translateX(4px);
}

body .wpretreats-directory .suggestion-item:last-child {
    border-bottom: none;
}

/* Pagination Controls */
body .wpretreats-directory .pagination-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body .wpretreats-directory .pagination-btn {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e6e8eb !important;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body .wpretreats-directory .pagination-btn:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    transform: translateY(-1px);
}

body .wpretreats-directory .pagination-btn.active {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border-color: #48cae4 !important;
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .pagination-btn:disabled {
    background: #e9ecef !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body .wpretreats-directory .page-info {
    font-size: 14px;
    color: #6c757d !important;
}

/* Back to Top Button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: #48cae4;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top-btn:hover {
    background-color: #00b4d8;
    transform: translateY(-2px);
}

/* Listing Modal Styles */
body .wpretreats-directory .listing-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

body .wpretreats-directory .listing-modal[style*="display: none"] {
    display: none !important;
}

body .wpretreats-directory .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

body .wpretreats-directory .modal-content {
    position: relative;
    background: #ffffff !important;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

body .wpretreats-directory .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #edf2f7 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}

body .wpretreats-directory .modal-header h2 {
    margin: 0;
    color: #333333 !important;
    font-size: 1.8em;
    font-weight: 700;
}

body .wpretreats-directory .modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280 !important;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body .wpretreats-directory .modal-close:hover {
    background: #f3f4f6 !important;
    color: #333333 !important;
    transform: rotate(90deg);
}

body .wpretreats-directory .modal-body {
    padding: 30px;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

body .wpretreats-directory .modal-images {
    margin-bottom: 30px;
}

body .wpretreats-directory .modal-main-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

body .wpretreats-directory .additional-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

body .wpretreats-directory .modal-thumb-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

body .wpretreats-directory .modal-thumb-img:hover {
    border-color: #48cae4 !important;
    transform: scale(1.05);
}

body .wpretreats-directory .modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

body .wpretreats-directory .detail-section {
    background: #f8fafc !important;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #48cae4 !important;
}

body .wpretreats-directory .detail-section h4 {
    margin: 0 0 15px 0;
    color: #333333 !important;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid #e6e8eb !important;
    padding-bottom: 8px;
}

body .wpretreats-directory .detail-item {
    margin-bottom: 10px;
    color: #5f6c7b !important;
    line-height: 1.6;
}

body .wpretreats-directory .detail-item strong {
    color: #333333 !important;
    font-weight: 600;
}

body .wpretreats-directory .detail-item a {
    color: #48cae4 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

body .wpretreats-directory .detail-item a:hover {
    color: #00b4d8 !important;
    text-decoration: underline;
}

body .wpretreats-directory .description {
    color: #5f6c7b !important;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

body .wpretreats-directory .address-item {
    background: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e6e8eb !important;
    font-family: monospace;
}

body .wpretreats-directory .opening-hours {
    background: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .hours-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6 !important;
}

body .wpretreats-directory .hours-item:last-child {
    border-bottom: none;
}

body .wpretreats-directory .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body .wpretreats-directory .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 20px;
    text-decoration: none;
    color: #5f6c7b !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

body .wpretreats-directory .social-link:hover {
    background: #48cae4 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #edf2f7 !important;
    background: #f8fafc !important;
    text-align: center;
}

body .wpretreats-directory .modal-claim-btn,
body .wpretreats-directory .modal-contact-btn {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(72, 202, 228, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .wpretreats-directory .modal-contact-btn {
    background: linear-gradient(135deg, #2a9d8f, #219ebc) !important;
    box-shadow: 0 4px 16px rgba(42, 157, 143, 0.3);
}

body .wpretreats-directory .modal-claim-btn:hover,
body .wpretreats-directory .modal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .modal-contact-btn:hover {
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

body .wpretreats-directory .modal-claim-btn:disabled,
body .wpretreats-directory .modal-contact-btn:disabled {
    background: #e6e8eb !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive Breakpoints */
@media (min-width: 1400px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (min-width: 1800px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    body .wpretreats-directory {
        max-width: 98%;
    }
}

@media (max-width: 1024px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body .wpretreats-directory {
        max-width: 100%;
        padding: 15px;
    }
    body .wpretreats-directory .listings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body .wpretreats-directory .filter-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    body .wpretreats-directory .search-row {
        flex-direction: column;
        align-items: stretch;
    }
    body .wpretreats-directory .search-row input[type="text"] {
        min-width: auto;
        margin-bottom: 10px;
    }
    body .wpretreats-directory .search-button,
    body .wpretreats-directory .clear-button {
        width: 100%;
        justify-content: center;
    }
    body .wpretreats-directory .listing-image {
        height: 160px;
    }
    body .wpretreats-directory .listing-modal {
        padding: 10px;
    }
    body .wpretreats-directory .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    body .wpretreats-directory .modal-header {
        padding: 20px;
    }
    body .wpretreats-directory .modal-header h2 {
        font-size: 1.4em;
    }
    body .wpretreats-directory .modal-body {
        padding: 20px;
    }
    body .wpretreats-directory .modal-main-img {
        height: 200px;
    }
    body .wpretreats-directory .modal-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body .wpretreats-directory .detail-section {
        padding: 15px;
    }
    body .wpretreats-directory .modal-footer {
        padding: 15px 20px;
    }
    body .wpretreats-directory .modal-claim-btn,
    body .wpretreats-directory .modal-contact-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body .wpretreats-directory {
        padding: 10px;
    }
    body .wpretreats-directory .filter-row {
        grid-template-columns: 1fr;
    }
    body .wpretreats-directory .search-row {
        gap: 8px;
    }
    body .wpretreats-directory .listing-image {
        height: 140px;
    }
    body .wpretreats-directory .listing-header h3 {
        font-size: 1.2em;
    }
    body .wpretreats-directory .search-suggestions {
        position: static;
        border-radius: 8px;
        margin-top: 8px;
    }
    body .wpretreats-directory .additional-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    body .wpretreats-directory .social-links {
        justify-content: center;
    }
    body .wpretreats-directory .hours-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    body .wpretreats-directory .directory-filters,
    body .wpretreats-directory .listing-actions,
    body .wpretreats-directory .claim-listing-btn {
        display: none !important;
    }
    body .wpretreats-directory .listing-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #333333 !important;
    }
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.modal-website-link {
    word-wrap: break-word;
    word-break: break-all;
}

/* Business Admin Form */
.wpretreats-business-admin .form-table {
    width: 100%;
    border-collapse: collapse;
}

.wpretreats-business-admin .form-table th, .wpretreats-business-admin .form-table td {
    padding: 15px;
    border: 1px solid #e6e8eb;
}

.wpretreats-business-admin .form-table th {
    width: 25%;
    text-align: left;
    background-color: #f8fafc;
}

.wpretreats-business-admin .regular-text, .wpretreats-business-admin .large-text {
    width: 100%;
}

#operating-hours-container .day-container {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

#image-upload-container .image-preview-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

#image-upload-container .image-preview {
    position: relative;
    width: 150px;
    height: 150px;
}

#image-upload-container .image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

#image-upload-container .delete-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}


body .wpretreats-directory .listing-contact .website::before {
    content: '🌐';
    font-size: 16px;
}

body .wpretreats-directory .listing-contact .website:hover {
    color: #00b4d8 !important;
    transform: translateX(4px);
}

body .wpretreats-directory .listing-contact .address {
    color: #6b7280 !important;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7 !important;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

body .wpretreats-directory .listing-contact .address::before {
    content: '📍';
    font-size: 14px;
    margin-top: 1px;
}

/* Listing Actions */
body .wpretreats-directory .listing-actions {
    text-align: center;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #edf2f7 !important;
    margin-top: auto;
}

body .wpretreats-directory .view-details-btn,
body .wpretreats-directory .claim-listing-btn {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .wpretreats-directory .view-details-btn:hover,
body .wpretreats-directory .claim-listing-btn:hover {
    background: linear-gradient(135deg, #00b4d8, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .view-details-btn:disabled,
body .wpretreats-directory .claim-listing-btn:disabled {
    background: #e6e8eb !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body .wpretreats-directory .claimed-notice {
    color: #2a9d8f !important;
    font-weight: 600;
    font-style: italic;
    background: #e6fcf5 !important;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

/* No Results Styling */
body .wpretreats-directory .no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc !important;
    border-radius: 16px;
    border: 2px dashed #e6e8eb !important;
    margin: 30px 0;
    grid-column: 1 / -1;
}

body .wpretreats-directory .no-results h4 {
    color: #5f6c7b !important;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

body .wpretreats-directory .no-results p {
    color: #6b7280 !important;
    font-size: 16px;
    margin: 0;
}

body .wpretreats-directory .no-results a {
    color: #48cae4 !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

body .wpretreats-directory .no-results a:hover {
    color: #00b4d8 !important;
    text-decoration: underline;
}

/* Search Suggestions */
body .wpretreats-directory .search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

body .wpretreats-directory .suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #edf2f7 !important;
    transition: all 0.2s ease;
    font-size: 14px;
}

body .wpretreats-directory .suggestion-item:hover {
    background: #f8fafc !important;
    color: #48cae4 !important;
    transform: translateX(4px);
}

body .wpretreats-directory .suggestion-item:last-child {
    border-bottom: none;
}

/* Pagination Controls */
body .wpretreats-directory .pagination-controls {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

body .wpretreats-directory .pagination-btn {
    background: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e6e8eb !important;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

body .wpretreats-directory .pagination-btn:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    transform: translateY(-1px);
}

body .wpretreats-directory .pagination-btn.active {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border-color: #48cae4 !important;
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .pagination-btn:disabled {
    background: #e9ecef !important;
    color: #adb5bd !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

body .wpretreats-directory .page-info {
    font-size: 14px;
    color: #6c757d !important;
}

/* Back to Top Button */
#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border: none;
    outline: none;
    background-color: #48cae4;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top-btn:hover {
    background-color: #00b4d8;
    transform: translateY(-2px);
}

/* Listing Modal Styles */
body .wpretreats-directory .listing-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

body .wpretreats-directory .listing-modal[style*="display: none"] {
    display: none !important;
}

body .wpretreats-directory .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

body .wpretreats-directory .modal-content {
    position: relative;
    background: #ffffff !important;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

body .wpretreats-directory .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #edf2f7 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #e9ecef 100%);
}

body .wpretreats-directory .modal-header h2 {
    margin: 0;
    color: #333333 !important;
    font-size: 1.8em;
    font-weight: 700;
}

body .wpretreats-directory .modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280 !important;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body .wpretreats-directory .modal-close:hover {
    background: #f3f4f6 !important;
    color: #333333 !important;
    transform: rotate(90deg);
}

body .wpretreats-directory .modal-body {
    padding: 30px;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

body .wpretreats-directory .modal-images {
    margin-bottom: 30px;
}

body .wpretreats-directory .modal-main-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

body .wpretreats-directory .additional-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

body .wpretreats-directory .modal-thumb-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

body .wpretreats-directory .modal-thumb-img:hover {
    border-color: #48cae4 !important;
    transform: scale(1.05);
}

body .wpretreats-directory .modal-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

body .wpretreats-directory .detail-section {
    background: #f8fafc !important;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #48cae4 !important;
}

body .wpretreats-directory .detail-section h4 {
    margin: 0 0 15px 0;
    color: #333333 !important;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid #e6e8eb !important;
    padding-bottom: 8px;
}

body .wpretreats-directory .detail-item {
    margin-bottom: 10px;
    color: #5f6c7b !important;
    line-height: 1.6;
}

body .wpretreats-directory .detail-item strong {
    color: #333333 !important;
    font-weight: 600;
}

body .wpretreats-directory .detail-item a {
    color: #48cae4 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

body .wpretreats-directory .detail-item a:hover {
    color: #00b4d8 !important;
    text-decoration: underline;
}

body .wpretreats-directory .description {
    color: #5f6c7b !important;
    line-height: 1.7;
    margin-bottom: 15px;
    font-style: italic;
}

body .wpretreats-directory .address-item {
    background: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e6e8eb !important;
    font-family: monospace;
}

body .wpretreats-directory .opening-hours {
    background: #ffffff !important;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e6e8eb !important;
}

body .wpretreats-directory .hours-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f3f4f6 !important;
}

body .wpretreats-directory .hours-item:last-child {
    border-bottom: none;
}

body .wpretreats-directory .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body .wpretreats-directory .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 20px;
    text-decoration: none;
    color: #5f6c7b !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

body .wpretreats-directory .social-link:hover {
    background: #48cae4 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 202, 228, 0.3);
}

body .wpretreats-directory .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #edf2f7 !important;
    background: #f8fafc !important;
    text-align: center;
}

body .wpretreats-directory .modal-claim-btn,
body .wpretreats-directory .modal-contact-btn {
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(72, 202, 228, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body .wpretreats-directory .modal-contact-btn {
    background: linear-gradient(135deg, #2a9d8f, #219ebc) !important;
    box-shadow: 0 4px 16px rgba(42, 157, 143, 0.3);
}

body .wpretreats-directory .modal-claim-btn:hover,
body .wpretreats-directory .modal-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 202, 228, 0.4);
}

body .wpretreats-directory .modal-contact-btn:hover {
    box-shadow: 0 6px 20px rgba(42, 157, 143, 0.4);
}

body .wpretreats-directory .modal-claim-btn:disabled,
body .wpretreats-directory .modal-contact-btn:disabled {
    background: #e6e8eb !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive Breakpoints */
@media (min-width: 1400px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (min-width: 1800px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    body .wpretreats-directory {
        max-width: 98%;
    }
}

@media (max-width: 1024px) {
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body .wpretreats-directory {
        max-width: 100%;
        padding: 15px;
    }
    body .wpretreats-directory .listings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body .wpretreats-directory .filter-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    body .wpretreats-directory .search-row {
        flex-direction: column;
        align-items: stretch;
    }
    body .wpretreats-directory .search-row input[type="text"] {
        min-width: auto;
        margin-bottom: 10px;
    }
    body .wpretreats-directory .search-button,
    body .wpretreats-directory .clear-button {
        width: 100%;
        justify-content: center;
    }
    body .wpretreats-directory .listing-image {
        height: 160px;
    }
    body .wpretreats-directory .listing-modal {
        padding: 10px;
    }
    body .wpretreats-directory .modal-content {
        max-height: 95vh;
        border-radius: 15px;
    }
    body .wpretreats-directory .modal-header {
        padding: 20px;
    }
    body .wpretreats-directory .modal-header h2 {
        font-size: 1.4em;
    }
    body .wpretreats-directory .modal-body {
        padding: 20px;
    }
    body .wpretreats-directory .modal-main-img {
        height: 200px;
    }
    body .wpretreats-directory .modal-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body .wpretreats-directory .detail-section {
        padding: 15px;
    }
    body .wpretreats-directory .modal-footer {
        padding: 15px 20px;
    }
    body .wpretreats-directory .modal-claim-btn,
    body .wpretreats-directory .modal-contact-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body .wpretreats-directory {
        padding: 10px;
    }
    body .wpretreats-directory .filter-row {
        grid-template-columns: 1fr;
    }
    body .wpretreats-directory .search-row {
        gap: 8px;
    }
    body .wpretreats-directory .listing-image {
        height: 140px;
    }
    body .wpretreats-directory .listing-header h3 {
        font-size: 1.2em;
    }
    body .wpretreats-directory .search-suggestions {
        position: static;
        border-radius: 8px;
        margin-top: 8px;
    }
    body .wpretreats-directory .additional-images-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    body .wpretreats-directory .social-links {
        justify-content: center;
    }
    body .wpretreats-directory .hours-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Print Styles */
@media print {
    body .wpretreats-directory .directory-filters,
    body .wpretreats-directory .listing-actions,
    body .wpretreats-directory .claim-listing-btn {
        display: none !important;
    }
    body .wpretreats-directory .listing-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #333333 !important;
    }
    body .wpretreats-directory .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.modal-website-link {
    word-wrap: break-word;
    word-break: break-all;
}

/* Image Manager for Business Admin Form */
.wpretreats-business-admin .retreathub-images-manager {
    margin-top: 20px;
    padding: 20px;
    background: #f8fafc !important;
    border-radius: 12px;
    border: 1px solid #e6e8eb !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.wpretreats-business-admin .retreathub-images-manager h4 {
    margin: 0 0 15px 0;
    color: #333333 !important;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid #e6e8eb !important;
    padding-bottom: 8px;
}

.wpretreats-business-admin .retreathub-images-manager p {
    margin: 0 0 15px 0;
    color: #5f6c7b !important;
    font-size: 14px;
    font-style: italic;
}

.wpretreats-business-admin .retreathub-image-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.wpretreats-business-admin .retreathub-image-item {
    position: relative;
    width: 100%;
    height: 120px;
    border: 1px solid #e6e8eb !important;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff !important;
    transition: all 0.3s ease;
    cursor: move;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wpretreats-business-admin .retreathub-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.wpretreats-business-admin .retreathub-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wpretreats-business-admin .retreathub-remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ffffff !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 22px;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    color: #6b7280 !important;
    transition: all 0.3s ease;
}

.wpretreats-business-admin .retreathub-remove-image:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: scale(1.1);
}

.wpretreats-business-admin .retreathub-add-url-section {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.wpretreats-business-admin .retreathub-add-url-section input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid #e6e8eb !important;
    border-radius: 8px;
    font-size: 14px;
    background-color: #ffffff !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333 !important;
}

.wpretreats-business-admin .retreathub-add-url-section input[type="text"]:focus {
    outline: none;
    border-color: #48cae4 !important;
    box-shadow: 0 0 0 3px rgba(72, 202, 228, 0.1);
    transform: translateY(-1px);
}

.wpretreats-business-admin .retreathub-add-url-section .button,
.wpretreats-business-admin #retreathub-upload-images {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #48cae4, #00b4d8) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(72, 202, 228, 0.3);
}

.wpretreats-business-admin .retreathub-add-url-section .button:hover,
.wpretreats-business-admin #retreathub-upload-images:hover {
    background: linear-gradient(135deg, #00b4d8, #0096c7) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 202, 228, 0.4);
}

.wpretreats-business-admin .retreathub-image-placeholder {
    background: #f8fafc !important;
    opacity: 0.5;
    width: 100%;
    height: 120px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280 !important;
    font-size: 14px;
    font-weight: 600;
}

/* Responsive Adjustments for Image Manager */
@media (max-width: 768px) {
    .wpretreats-business-admin .retreathub-image-list {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 10px;
    }
    .wpretreats-business-admin .retreathub-image-item {
        height: 100px;
    }
    .wpretreats-business-admin .retreathub-add-url-section input[type="text"] {
        min-width: 100%;
    }
    .wpretreats-business-admin .retreathub-add-url-section .button,
    .wpretreats-business-admin #retreathub-upload-images {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wpretreats-business-admin .retreathub-images-manager {
        padding: 15px;
    }
    .wpretreats-business-admin .retreathub-image-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    .wpretreats-business-admin .retreathub-image-item {
        height: 80px;
    }
    .wpretreats-business-admin .retreathub-remove-image {
        width: 20px;
        height: 20px;
        line-height: 18px;
        font-size: 12px;
    }
}