/* Global Reset & Typography */
.imagprfo-settings-wrap {
    font-family: 'Outfit', sans-serif;
    color: #374151; /* Dark Gray */
    margin-top: 20px;
}

/* Header Area */
.imagprfo-header {
    margin-bottom: 30px;
}

.imagprfo-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.imagprfo-header p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Main Layout Grid */
.imagprfo-settings-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.imagprfo-main-content {
    flex: 1;
    min-width: 0;
}

.imagprfo-sidebar-wrapper {
    width: 320px;
    background: #f8faff; /* Soft purple/blue background from screenshot */
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
}

/* Cards with Blue Left Border */
.imagprfo-card-blue-border {
    background: #ffffff;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #6366f1; /* Distinct indigo left border */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.imagprfo-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
}

.imagprfo-card-header p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 20px 0;
}

/* Settings Grid & Inputs */
.imagprfo-settings-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.imagprfo-setting-col {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.imagprfo-setting-col label {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    display: inline-block;
}

.imagprfo-modern-input {
    width: 100%;
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #fff !important;
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-family: inherit !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
    transition: all 0.2s ease !important;
    min-height: 40px !important;
    height: auto !important;
}

.imagprfo-modern-input:focus {
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    outline: none !important;
}

select.imagprfo-modern-input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
}

.imagprfo-help-text {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 6px;
}

/* Privacy & Telemetry Section */
.imagprfo-telemetry-info {
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 24px;
}

.imagprfo-telemetry-info p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #374151;
}

.imagprfo-telemetry-info ul {
    margin: 0 0 12px 16px;
    font-size: 13px;
    color: #6b7280;
    list-style-type: disc;
}

.imagprfo-telemetry-note {
    font-size: 12px !important;
    color: #9ca3af !important;
    margin: 0 !important;
}

/* Radio Box Options */
.imagprfo-telemetry-options {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.imagprfo-radio-card {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.imagprfo-radio-card.active {
    border-color: #6366f1;
    background: #fefeff;
    box-shadow: 0 0 0 1px #6366f1;
}

.imagprfo-telemetry-radio {
    margin-top: 2px !important;
    margin-right: 12px !important;
    width: 16px !important;
    height: 16px !important;
}

.imagprfo-radio-content {
    display: flex;
    flex-direction: column;
}

.imagprfo-radio-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.imagprfo-radio-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Save Button Card */
.imagprfo-save-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
}

.imagprfo-btn-save {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border-radius: 6px !important;
    min-height: 40px !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 14px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
    transition: background 0.2s ease !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

.imagprfo-btn-save:hover {
    background: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

/* Sidebar Styles */
.imagprfo-sidebar-header {
    margin-bottom: 20px;
}

.imagprfo-sidebar-header h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.imagprfo-sidebar-header p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.imagprfo-promo-plugin {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.imagprfo-promo-icon-img img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.imagprfo-promo-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.imagprfo-promo-title-row h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    padding-right: 10px;
}

.imagprfo-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
}

.imagprfo-badge-free {
    background: #f3f4f6;
    color: #374151;
}

.imagprfo-badge-featured {
    background: #8b5cf6;
    color: #fff;
}

.imagprfo-promo-content p {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.imagprfo-btn-outline {
    display: inline-block !important;
    text-align: center !important;
    width: 100%;
    color: #6366f1 !important;
    border: 1px solid #c7d2fe !important;
    background: #fff !important;
    border-radius: 6px !important;
    padding: 8px !important;
    font-weight: 600 !important;
    box-sizing: border-box;
    text-decoration: none !important;
}

.imagprfo-btn-outline:hover {
    background: #eff6ff !important;
    border-color: #6366f1 !important;
}

.imagprfo-btn-solid {
    display: inline-block !important;
    text-align: center !important;
    width: 100%;
    background: #6366f1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px !important;
    font-weight: 600 !important;
    box-sizing: border-box;
    text-decoration: none !important;
}

.imagprfo-btn-solid:hover {
    background: #4f46e5 !important;
}

/* Responsive */
@media (max-width: 900px) {
    .imagprfo-settings-container {
        flex-direction: column;
    }
    .imagprfo-sidebar-wrapper {
        width: 100%;
        box-sizing: border-box;
    }
    .imagprfo-telemetry-options {
        flex-direction: column;
    }
}
