/* ExploreXR Admin Styles
 * Main styles for admin interface
 */

/* Admin menu hover behavior - improved version */
/* Only apply the submenu positioning when the admin menu is collapsed */
.folded #adminmenu li#toplevel_page_explorexr:hover .wp-submenu {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
}

/* Do not apply special hover behavior when menu is expanded */
#adminmenu:not(.folded) li#toplevel_page_explorexr:hover .wp-submenu {      
    top: 0 !important;
    margin-top: auto !important;
}

/* Ensure ExploreXR specific notices still appear */
.explorexr-admin-container .explorexr-notice,
/* Addon integration removed from free version */
/* License management CSS removed from free version */
.wrap.explorexr-edit-model-page .explorexr-notice {
    display: block !important;
}

/* Moving Gradient Banner for Dashboard */
.explorexr-gradient-banner {
    background: linear-gradient(270deg, #4555A5, #13BCD4, #F36E24, #EF4681, #4555A5);
    background-size: 400% 400%;
    animation: gradientMove 26s ease infinite;
    margin: 0 0 30px 0;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.explorexr-gradient-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.explorexr-gradient-banner-content {
    position: relative;
    z-index: 2;
}

.explorexr-banner-logo {
    height: 120px;
    
}

.explorexr-gradient-banner h2 {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.explorexr-gradient-banner p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Card and Container Styles */
.explorexr-admin-container {
    margin: 20px 20px 0 0;
}

.explorexr-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
}

.explorexr-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.explorexr-card-header {
    padding: 12px 20px;
    background-color: #E4E9EC;
    border-bottom: 1px solid #0D152C;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header-actions .button {
    margin-left: 10px;
}

.explorexr-card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.explorexr-card-header .dashicons {
    color: #8062AA;
}


.explorexr-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.explorexr-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #0D152C;
    background-color: #E4E9EC;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* Full-width card footer buttons */
.explorexr-card-footer-fullwidth {
    padding: 0;
    display: block;
}

.explorexr-card-footer-fullwidth a,
.explorexr-card-footer-fullwidth button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin: 0;
    border: none;
    border-radius: 0;
    border-top: 1px solid #0D152C;
    background-color: #E4E9EC;
    color: #2AACE2;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.explorexr-card-footer-fullwidth a:hover,
.explorexr-card-footer-fullwidth button:hover {
    background-color: #0D152C;
    color: #1e40af;
}

.explorexr-card-footer-fullwidth .button-primary {
    background-color: #2AACE2;
    color: white;
}

.explorexr-card-footer-fullwidth .button-primary:hover {
    background-color: #1e40af;
    color: white;
}

/* Dashboard grid */
.explorexr-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.explorexr-dashboard-grid .explorexr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

/* Make sure model cards render properly */
.explorexr-model-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.explorexr-model-thumb {
    height: 180px;
    background-color: #0D152C;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.explorexr-model-thumb img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.explorexr-model-actions {
    position: inherit;
    bottom: 10px;
    right: 10px;
    display: flex;
    flex-direction: row;
    gap: 5px;
    opacity: 1;
    transition: opacity 0.2s ease;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.explorexr-model-thumb:hover .explorexr-model-actions {
    opacity: 1;
}

.explorexr-model-actions button,
.explorexr-model-actions a {
    background: white;
    border: none;
    border-radius: 50%;    
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.explorexr-model-actions button:hover,
.explorexr-model-actions a:hover {
    background: #f7f7f7;
}

.explorexr-model-actions button .dashicons,
.explorexr-model-actions a .dashicons {
    font-size: 16px;
}

.explorexr-model-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.explorexr-model-title {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 5px 0;
}

.explorexr-model-meta {
    color: #646970;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

/* Enhanced Admin Header with Plugin UI Styling - Override all instances */
.explorexr-admin-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 0 25px 0 !important;
    padding: 25px 30px !important;
    background: linear-gradient(135deg, #4555A5 0%, #13BCD4 25%, #F36E24 50%, #EF4681 75%, #4555A5 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 30s ease infinite !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
    border-bottom: none !important;
}

.explorexr-admin-header::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    pointer-events: none !important;
}

.explorexr-admin-header * {
    position: relative !important;
    z-index: 2 !important;
}

.explorexr-admin-header h1 {
    font-size: 28px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.explorexr-admin-header .explorexr-version {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    padding: 4px 12px !important;
    border-radius: 0px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    margin-left: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.explorexr-header-actions a,
.explorexr-header-actions button {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.explorexr-header-actions a:hover,
.explorexr-header-actions button:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Premium Action Button Styling */
.explorexr-quick-actions .explorexr-premium-action {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

.explorexr-quick-actions .explorexr-premium-action:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    color: white !important;
}

.explorexr-quick-actions .explorexr-premium-action .dashicons {
    color: #fbbf24 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Button styles are now handled by button-system.css - see admin/css/button-system.css for all button styling */

/* ========================================
   END ENHANCED PLUGIN UI STYLING
======================================== */

/* Card and Container Styles */
.explorexr-admin-container {
    margin: 20px 20px 0 0;
}

.explorexr-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
}

.explorexr-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.explorexr-card-header {
    padding: 12px 20px;
    background-color: #E4E9EC;
    border-bottom: 1px solid #0D152C;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header-actions .button {
    margin-left: 10px;
}

.explorexr-card-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.explorexr-card-header .dashicons {
    color: #8062AA;
}


.explorexr-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.explorexr-card-footer {
    padding: 15px 20px;
    border-top: 1px solid #0D152C;
    background-color: #E4E9EC;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* Full-width card footer buttons */
.explorexr-card-footer-fullwidth {
    padding: 0;
    display: block;
}

.explorexr-card-footer-fullwidth a,
.explorexr-card-footer-fullwidth button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    margin: 0;
    border: none;
    border-radius: 0;
    border-top: 1px solid #0D152C;
    background-color: #E4E9EC;
    color: #2AACE2;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.explorexr-card-footer-fullwidth a:hover,
.explorexr-card-footer-fullwidth button:hover {
    background-color: #0D152C;
    color: #1e40af;
}

.explorexr-card-footer-fullwidth .button-primary {
    background-color: #2AACE2;
    color: white;
}

.explorexr-card-footer-fullwidth .button-primary:hover {
    background-color: #1e40af;
    color: white;
}

/* Dashboard grid */
.explorexr-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.explorexr-dashboard-grid .explorexr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}

/* Duplicate model card styles removed - see the comprehensive definition above */

/* Badges */
.explorexr-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: #50575e;
    background: #d1e7dd;
    margin-left: 5px;
}

.explorexr-badge.ar {
    background: #d1e7dd;
    color: #0f5132;
}

.explorexr-badge.error {
    background: #f8d7da;
    color: #842029;
}

/* Alert boxes */
.explorexr-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.explorexr-alert.info {
    background-color: #e5f5fa;
    border-left: 4px solid #00a0d2;
}

.explorexr-alert.success {
    background-color: #ecf7ed;
    border-left: 4px solid #2AACE2;
}

.explorexr-alert.warning {
    background-color: #fff8e5;
    border-left: 4px solid #ffb900;
}

.explorexr-alert.error {
    background-color: #fbeaea;
    border-left: 4px solid #8062AA;
}

.explorexr-alert .dashicons {
    margin-right: 10px;
    font-size: 18px;
}

/* Stats items - vertical layout */
.explorexr-stats-vertical {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.explorexr-stat-item-vertical {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5px;
    border-bottom: 1px solid #0D152C;
    width: 100%;
}

.explorexr-stat-item-vertical:last-child {
    border-bottom: none;
}

.explorexr-stat-item-vertical .explorexr-stat-label {
    font-size: 14px;
    font-weight: 400;
    color: #23282d;
}

.explorexr-stat-item-vertical .explorexr-stat-number {
    font-size: 16px;
    font-weight: 600;
    color: #2AACE2;
    display: flex;
    align-items: center;
}

/* Quick Actions */
.explorexr-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.explorexr-quick-actions a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #2AACE2;
    font-weight: 500;
    transition: all 0.2s ease;
}

.explorexr-quick-actions a:hover {
    background: #f7f7f7;
    color: #1e40af;
}

.explorexr-quick-actions a .dashicons {
    margin-right: 8px;
    font-size: 18px;
}

/* System information table */
.explorexr-admin-container .widefat {
    border: 1px solid #e2e4e7;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
}

.explorexr-admin-container .widefat th {
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
}

.explorexr-admin-container .widefat td {
    padding: 10px 12px;
}

/* Make sure the notifications are properly styles */
.shortcode-copied-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ecf7ed;
    color: #0f5132;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

/* Status overview grid */
.explorexr-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.explorexr-status-card {
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.explorexr-status-card:hover {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.explorexr-status-card-inner {
    padding: 20px;
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.explorexr-status-icon {
    background-color: #f0f7fc;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.explorexr-status-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #2AACE2;
}

.explorexr-status-details {
    flex-grow: 1;
}

.explorexr-status-details h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.2;
}

.explorexr-status-details p {
    margin: 0;
    color: #646970;
    font-size: 14px;
}

.explorexr-status-action {
    padding: 10px;
    border-top: 1px solid #0D152C;
    background-color: #E4E9EC;
    text-align: center;
}

.explorexr-status-action a {
    text-decoration: none;
    color: #2AACE2;
    font-size: 13px;
    font-weight: 500;
}

.explorexr-status-action a:hover {
    text-decoration: underline;
}

/* Card grid for smaller cards side by side */
.explorexr-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Dashboard tables */
.explorexr-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.explorexr-table th {
    background-color: #f9f9f9;
    border-bottom: 1px solid #e2e4e7;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    color: #23282d;
}

.explorexr-table td {
    padding: 12px 10px;
    vertical-align: middle !important;;
}

.explorexr-table code{
    padding: auto;
    vertical-align: middle !important;;
}

.explorexr-table tr:last-child td {
    border-bottom: none;
}

.explorexr-action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.explorexr-view-all {
    margin-top: 15px;
    text-align: center;
}

.explorexr-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Fix for small buttons */
.button-small .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    padding-bottom:  2px;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .explorexr-dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .explorexr-admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .explorexr-admin-header .explorexr-header-actions {
        margin-top: 15px;
    }
    
    .explorexr-quick-actions a {
        width: 100%;
    }
}

/* Model Viewer Modal Styles */
.explorexr-model-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.explorexr-model-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 20px auto;
    padding: 20px;
    border-radius: 5px;
    width: 95%;
    height: 90%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.explorexr-model-modal-content model-viewer {
    width: 100%;
    height: calc(100% - 60px); /* Account for title and padding */
    min-height: 500px;
}

.explorexr-model-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #555;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    text-decoration: none;
}

.explorexr-model-close:hover {
    color: #000;
}

.explorexr-model-modal .explorexr-model-title {
    margin-top: 0;
    padding-right: 30px;
    font-size: 18px;
    margin-bottom: 15px;
}

#explorexr-model-viewer {
    width: 100%;
    height: calc(80vh - 60px);
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0);
}

#explorexr-model-viewer .error {
    padding: 20px;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 4px;
    color: #721c24;
    margin: 20px auto;
    max-width: 70%;
    text-align: center;
}

#explorexr-model-viewer .error-details {
    font-family: monospace;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

/* Debugging Card Styles */
.explorexr-debugging-card {
    background-color: #f9f9f9;
    border: 1px solid #e2e4e7;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.explorexr-settings-section-title {
    margin-top: 30px;
    border-bottom: 1px solid #e2e4e7;
    padding-bottom: 10px;
    color: #23282d;
}

.explorexr-debugging-tools {
    margin-top: 20px;
    border-top: 1px solid #e2e4e7;
    padding-top: 15px;
}

.explorexr-debug-tool-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.explorexr-debug-tool-actions .button {
    display: flex;
    align-items: center;
}

.explorexr-debug-tool-actions .dashicons {
    margin-right: 5px;
}

#explorexr-debug-log-viewer {
    margin-top: 15px;
    padding: 15px;
    background-color: #0D152C;
    border-radius: 4px;
}

.explorexr-log-container {
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 10px;
}

#explorexr-log-content {
    margin: 0;
    white-space: pre-wrap;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 1.5;
}

.explorexr-debug-info {
    margin-top: 20px;
}

.explorexr-debug-status-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.explorexr-debug-status-list li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e4e7;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.explorexr-debug-status-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.explorexr-debug-status-label {
    font-weight: 500;
    margin-right: 10px;
}

.explorexr-debug-status-value {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.explorexr-debug-status-value.active {
    background-color: #dff0d8;
    color: #3c763d;
}

.explorexr-debug-status-value.inactive {
    background-color: #f2dede;
    color: #a94442;
}

/* Addon status styling removed from free version */

.status-indicator {     
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;    
}

.status-indicator .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    margin-right: 3px;
}

.status-indicator.active {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-indicator.installed {
    background-color: #fff3cd;
    color: #856404;
}

.status-indicator.not-installed {
    background-color: #f8d7da;
    color: #842029;
}

/* Addon status badges removed from free version */

/* License management CSS removed from free version */

/* Addon selection removed from free version */

/* Included addons display removed from free version */

/* Premium Pricing Section Styling */
.explorexr-premium-pricing {
    margin: 30px 0 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    color: white;
    text-align: center;
}

.explorexr-pricing-tiers {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.explorexr-pricing-tier {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    min-width: 150px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.explorexr-pricing-tier.featured {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.explorexr-pricing-tier:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
}

.explorexr-pricing-tier.featured:hover {
    transform: translateY(-3px) scale(1.07);
}

.explorexr-pricing-tier h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
}

.explorexr-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fbbf24;
}

.explorexr-pricing-tier p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive Design for Premium Features */
@media screen and (max-width: 782px) {
    .explorexr-premium-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .explorexr-pricing-tiers {
        flex-direction: column;
        align-items: center;
    }
    
    .explorexr-pricing-tier {
        width: 100%;
        max-width: 200px;
        position: relative;
    }
    
    .explorexr-pricing-tier.featured {
        transform: none;
        margin: 10px 0;
    }
    
    .explorexr-popular-badge {
        position: static;
        transform: none;
        display: inline-block;
        margin-bottom: 10px;
    }
    
    .explorexr-addon-note {
        text-align: left;
    }
}

/* ExploreXR Admin Footer */
.explorexr-admin-footer {
    margin: 20px 20px 0 0 !important;
    padding: 30px 20px !important;
    background: linear-gradient(135deg, #F8FAFC 0%, #E5E7F2 100%) !important;
    border-radius: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.explorexr-admin-footer::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: linear-gradient(270deg, #4555A5, #13BCD4, #F36E24, #EF4681, #4555A5) !important;
    background-size: 400% 400% !important;
    animation: gradientMove 20s ease infinite !important;
}

.explorexr-footer-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.explorexr-footer-branding {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
}

.explorexr-footer-logo {
    height: 40px !important;
    width: auto !important;
}

.explorexr-footer-text {
    margin: 0 !important;
    color: #0D152C !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding-left: 26px !important;
}

.explorexr-footer-text strong {
    color: #2AACE2 !important;
    font-weight: 600 !important;
}

.explorexr-footer-links {
    display: flex !important;
    gap: 20px !important;
}

.explorexr-footer-links a {
    color: #2AACE2 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    transition: color 0.3s ease !important;
}

.explorexr-footer-links a:hover {
    color: #1e40af !important;
    text-decoration: underline !important;
}

/* Responsive footer */
@media screen and (max-width: 782px) {
    .explorexr-footer-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .explorexr-footer-branding {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .explorexr-footer-links {
        justify-content: center !important;
    }
}


/* Hide the default WordPress admin footer since we have our own ExploreXR footer */
#wpfooter {
    display: none !important;
}

/* Premium Features Card Styling */
.explorexr-premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.explorexr-premium-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0;
    border-left: 4px solid #2AACE2;
    transition: all 0.3s ease;
}

.explorexr-premium-feature:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 172, 226, 0.15);
}

.explorexr-premium-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2AACE2;
    border-radius: 50%;
    color: white;
}

.explorexr-premium-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.explorexr-premium-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
}

.explorexr-premium-info p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.explorexr-addon-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.explorexr-pricing-tier.featured .explorexr-addon-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.explorexr-popular-badge {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #1f2937;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.explorexr-pricing-tier.featured {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.explorexr-addon-note {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.explorexr-addon-note p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

/* ============================================
   UTILITY CLASSES - No Inline Styles Policy
   ============================================ */

/* Visibility & Display */
.explorexr-hidden {
    display: none !important;
}

/* Spacing - Margin */
.explorexr-margin-0 {
    margin: 0 !important;
}

.explorexr-margin-right-5 {
    margin-right: 5px !important;
}

.explorexr-margin-right-8 {
    margin-right: 8px !important;
}

.explorexr-margin-left-5 {
    margin-left: 5px !important;
}

.explorexr-margin-left-10 {
    margin-left: 10px !important;
}

.explorexr-margin-left-20 {
    margin-left: 20px !important;
}

.explorexr-margin-top-5 {
    margin-top: 5px !important;
}

.explorexr-margin-top-10 {
    margin-top: 10px !important;
}

.explorexr-margin-top-15 {
    margin-top: 15px !important;
}

.explorexr-margin-bottom-8 {
    margin-bottom: 8px !important;
}

.explorexr-margin-bottom-10 {
    margin-bottom: 10px !important;
}

.explorexr-margin-bottom-20 {
    margin-bottom: 20px !important;
}

/* Spacing - Padding */
.explorexr-padding-10-20 {
    padding: 10px 20px !important;
}

.explorexr-padding-15 {
    padding: 15px !important;
}

.explorexr-padding-left-20 {
    padding-left: 20px !important;
}

.explorexr-padding-top-0 {
    padding-top: 0 !important;
}

/* Colors */
.explorexr-color-success {
    color: #46b450 !important;
}

.explorexr-color-error {
    color: #dc3232 !important;
}

.explorexr-color-warning {
    color: #ffb900 !important;
}

.explorexr-color-gray {
    color: #646970 !important;
}

.explorexr-color-white {
    color: white !important;
}

.explorexr-bg-primary {
    background-color: #2271b1 !important;
}

.explorexr-bg-gray-light {
    background-color: #f5f5f5 !important;
}

/* Typography */
.explorexr-font-size-12 {
    font-size: 12px !important;
}

.explorexr-font-size-14 {
    font-size: 14px !important;
}

.explorexr-font-size-48 {
    font-size: 48px !important;
}

/* Positioning */
.explorexr-fixed-notification {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background-color: #2271b1 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    z-index: 9999 !important;
}

/* Flexbox Utilities */
.explorexr-flex {
    display: flex !important;
}

.explorexr-flex-gap-20 {
    display: flex !important;
    gap: 20px !important;
}

.explorexr-flex-justify-between {
    display: flex !important;
    justify-content: space-between !important;
}

.explorexr-flex-wrap {
    flex-wrap: wrap !important;
}

.explorexr-align-items-end {
    align-items: flex-end !important;
}

.explorexr-flex-1 {
    flex: 1 !important;
}

.explorexr-align-self-end {
    align-self: flex-end !important;
}

/* Width */
.explorexr-width-100 {
    width: 100% !important;
}

.explorexr-width-150 {
    width: 150px !important;
}

.explorexr-min-width-200 {
    min-width: 200px !important;
}

/* Height */
.explorexr-height-400 {
    height: 400px !important;
}

/* Borders */
.explorexr-border-top-none {
    border-top: none !important;
}

.explorexr-border-radius-4 {
    border-radius: 4px !important;
}

/* Dashicons Sizing */
.explorexr-dashicon-14 {
    font-size: 14px !important;
    width: 14px !important;
    height: 14px !important;
}

.explorexr-dashicon-margin-right-2 {
    margin-right: 2px !important;
}

/* Opacity */
.explorexr-opacity-30 {
    opacity: 0.3 !important;
}

/* Grid */
.explorexr-grid-col-full {
    grid-column: 1 / -1 !important;
}

/* Stats & Cache */
.explorexr-cache-stats {
    margin: 15px 0 !important;
    padding: 15px !important;
    background: #f5f5f5 !important;
    border-radius: 4px !important;
}

.explorexr-cache-stats ul {
    margin: 5px 0 0 20px !important;
}