/* Main container for the settings page */
.fnmm-backend-container {
    position: relative;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    max-width: 1000px;
    /* Adjust this value as needed */
    margin-left: 0;
    /* Changed from auto to 0 */
    margin-right: 20px;
    /* Changed from auto to provide some right spacing */
}

/* Main title styling */
.fnmm-main-title {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #23282d;
    font-size: 23px;
    font-weight: 400;
}

/* Vertical layout container */
.fnmm-vertical-layout {
    display: flex;
    gap: 20px;
}

/* Styling for the tabs on the left side */
.fnmm-tabs {
    display: flex;
    flex-direction: column;
    width: 200px;
    border-right: 1px solid #ccc;
    padding-right: 20px;
}

/* Individual tab button styling */
.fnmm-tab-link {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: left;
    border-left: 3px solid transparent;
    margin-bottom: 5px;
    color: #23282d;
}

/* Hover effect for tab buttons */
.fnmm-tab-link:hover {
    background-color: #f0f0f0;
    color: #0097B2;
}

/* Styling for the active tab */
.fnmm-tab-link.active {
    border-left: 3px solid #0097B2;
    color: #0097B2;
    background-color: #f0f0f0;
}

/* Main settings form container */
.fnmm-settings-form {
    flex-grow: 1;
    max-width: 600px;
}

/* Tab content container */
.fnmm-tab-content-container {
    margin-bottom: 20px;
}

/* Tab content styling */
.fnmm-tab-content {
    display: none;
}

.fnmm-tab-content.active {
    display: block;
}

/* Button styling */
.fnmm-backend-container .button-primary,
.fnmm-backend-container .button-secondary {
    background: #0097B2;
    border-color: #0097B2;
    color: #fff;
    text-decoration: none;
    text-shadow: none;
    transition: all 0.3s ease;
}

.fnmm-backend-container .button-primary:hover,
.fnmm-backend-container .button-primary:focus,
.fnmm-backend-container .button-secondary:hover,
.fnmm-backend-container .button-secondary:focus {
    background: #007a8f;
    border-color: #007a8f;
}

/* Color picker button */
.wp-picker-container .button {
    background: #0097B2;
    border-color: #0097B2;
    color: #fff;
}

.wp-picker-container .button:hover,
.wp-picker-container .button:focus {
    background: #007a8f;
    border-color: #007a8f;
}

/* Logo styling */
.fnmm-logo {
    max-width: 150px;
    /* Adjust this value as needed */
    height: auto;
}

/* Header styling */
.fnmm-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Logo upload field styling */
.fnmm-logo-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Adds space between the input and button */
}

.fnmm-logo-upload-wrapper input[type="text"] {
    flex-grow: 1;
}

.fnmm-logo-upload-wrapper .button {
    flex-shrink: 0;
}

/* Visual Selector Styles */
.fnmm-header-selector-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 15px;
}

.fnmm-preview-container {
    margin-top: 15px;
    max-width: 375px;
}

.fnmm-preview-instructions {
    margin-bottom: 10px;
    padding: 8px;
    background-color: #f8f9fa;
    border-left: 4px solid #0097B2;
    font-size: 13px;
}

.fnmm-mobile-frame {
    width: 375px;
    height: 667px;
    background: #fff;
    border-radius: 20px;
    padding: 20px 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.fnmm-mobile-frame:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

#fnmm_preview_frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Highlighter styles */
.fnmm-highlight {
    outline: 2px solid #0097B2 !important;
    background-color: rgba(0, 151, 178, 0.1) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.fnmm-selected {
    outline: 3px solid #00b894 !important;
    background-color: rgba(0, 184, 148, 0.2) !important;
}

#fnmm_visual_selector .dashicons {
    margin-right: 5px;
}

/* Version display styling */
.fnmm-backend-version {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #999;
}