/* --- Figma Fix for WordPress Admin --- */

/* Wrapper ko WordPress ke margin se bahar nikalne ke liye */
.litemamo-admin-container {
    display: flex !important;
    margin: 20px 20px 0 0 !important;
    background: #000 !important; /* Dark background like Figma */
    border-radius: 20px !important;
    overflow: hidden !important;
    min-height: 600px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    clear: both;
}

/* Sidebar Styling */
.litemamo-sidebar {
    width: 260px !important;
    background: #ffffff !important;
    padding: 30px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    min-width: 260px;
}

.nav-item {
    padding: 22px 20px !important;
    color: #333 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid #f0f0f0 !important;
}

.nav-item .dashicons {
    margin-right: 12px !important;
}

.nav-item.active {
    background: #003049 !important; /* Figma Dark Blue */
    color: #fff !important;
    border-color: #003049 !important;
}

/* Main Content Area */
.litemamo-content {
    flex-grow: 1 !important;
    background: #F5F5F5 !important;
    padding: 40px !important;
}

/* Card Styling */
.litemamo-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    padding: 30px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
}

.card-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.card-row h3 {
    margin: 0 !important;
    font-size: 1.2rem !important;
    color: #000 !important;
}

/* Toggle Switch Styling */
.litemamo-toggle {
    position: relative !important;
    display: inline-block !important;
    width: 60px !important;
    height: 30px !important;
}

.litemamo-toggle input { opacity: 0; width: 0; height: 0; }

.litemamo-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.litemamo-slider:before {
    position: absolute;
    content: "OFF";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    font-size: 7px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.litemamo-toggle input:checked + .litemamo-slider {
    background: linear-gradient(90deg, #001f3f 0%, #0074D9 100%) !important;
}

.litemamo-toggle input:checked + .litemamo-slider:before {
    transform: translateX(30px);
    content: "ON";
}

/* Gradient Save Button */
.litemamo-save-btn {
    background: linear-gradient(90deg, #000033 0%, #00d4ff 100%) !important;
    color: white !important;
    border: none !important;
    padding: 12px 35px !important;
    border-radius: 8px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    float: right !important;
    margin-top: 20px !important;
}

/* Hide non-active tabs */
.tab-content { display: none; }
.tab-content.active { display: block !important; }

/* Clear WordPress Default Heading Margin */
.litemamo-content form { margin: 0; }

/* Figma Logo & Background Specific Styles */
.figma-input-section {
    margin-bottom: 35px;
}

.figma-input-section h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0px 0 10px 0 !important;
    color: #000;
    line-height: 39px;
    font-family: system-ui;
}

.figma-upload-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.figma-upload-row input[type="text"] {
    flex: 1;
    height: 60px !important; /* Thick inputs */
    background: #FFFFFF !important;
    border: 1px solid #D9D9D9 !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    font-size: 16px;
}

/* Dark Blue Upload Button */
.litemamo-figma-btn-dark {
    background: #1D4B7A !important; /* Dark blue from SS */
    color: white !important;
    border: none !important;
    width: 180px;
    height: 60px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.litemamo-figma-btn-dark:hover {
    background: #14365a !important;
}
/* --- Figma Input & Social Profile Styles --- */

.figma-full-input {
    width: 100% !important;
    height: 55px !important;
    background: #FFFFFF !important;
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    padding: 0 20px !important;
    font-size: 16px !important;
    margin-bottom: 10px;
}

/* .figma-input-section h3 {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 20px 0 10px 0 !important;
    color: #000;
} */

/* Social Row Layout */
.figma-social-row {
    margin-bottom: 25px;
}

.figma-social-row label {
    display: block;
    margin-bottom: 10px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000;
    line-height: 39px;
    font-family: system-ui;
}

/* WP Editor Styling Fix */
.wp-editor-container {
    border: 1px solid #D9D9D9 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.litemamo-save-btn {
    background: linear-gradient(90deg, #000033 0%, #00d4ff 100%) !important;
    /* ... baki purani styles ... */
}