/* Hide the standard WordPress admin sidebar and top bar for a cleaner onboarding experience */
#adminmenumain, #wpadminbar {
    display: none !important;
}

/* Adjust the main content area to take up the full screen */
#wpcontent, #wpfooter {
    margin-left: 0 !important;
}

html.wp-toolbar {
    padding-top: 0 !important;
}

.sky-seo-onboarding-wrap {
    background: #f0f0f1;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.sky-seo-onboarding-main {
    width: 100%;
    max-width: 800px;
}

.sky-seo-onboarding-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    overflow: hidden;
}

.sky-seo-onboarding-header {
    margin-bottom: 40px;
    text-align: center;
}

.sky-seo-onboarding-header h1 {
    color: #1d2327;
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 600;
}

.sky-seo-onboarding-steps {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 600px;
}

.sky-seo-onboarding-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e4e7;
    z-index: 1;
}

.sky-seo-onboarding-steps li {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.sky-seo-onboarding-steps .step-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #e2e4e7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #a7aaad;
    font-size: 16px;
    box-shadow: 0 0 0 6px #f0f0f1; /* Matches body background */
    transition: all 0.3s ease;
}

.sky-seo-onboarding-steps .step-label {
    font-size: 14px;
    font-weight: 600;
    color: #a7aaad;
    transition: all 0.3s ease;
}

.sky-seo-onboarding-steps li.active .step-circle {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    box-shadow: 0 0 0 6px rgba(34, 113, 177, 0.15), 0 0 0 6px #f0f0f1;
}

.sky-seo-onboarding-steps li.active .step-label {
    color: #2271b1;
}

/* Custom outline button for 'Go to Settings' */
.ob-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 24px;
    min-height: 46px;
    font-size: 14px;
    line-height: normal;
    background: #fff;
    color: #2271b1;
    border: 1px solid #2271b1;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ob-outline-btn:hover {
    background: #f6f7f7;
    color: #135e96;
    border-color: #135e96;
}

.ob-outline-btn:active {
    background: #f0f0f1;
}

.sky-seo-onboarding-body {
    padding: 40px;
}

.sky-seo-onboarding-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.sky-seo-onboarding-step.active {
    display: block;
}

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

.sky-seo-onboarding-step h2 {
    font-size: 24px;
    margin-top: 0;
}

.sky-seo-onboarding-step .subtitle {
    font-size: 16px;
    color: #50575e;
    margin: 0 0 30px 0;
    padding: 0;
    line-height: 1.5;
}

.notice-box {
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.notice-box.info {
    background: #e7f5fe;
    border-left: 4px solid #2271b1;
}

.notice-box.success {
    background: #edfad1;
    border-left: 4px solid #689200;
}

.notice-box .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #2271b1;
}
.notice-box.success .dashicons {
    color: #689200;
}

.setup-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.setup-card {
    border: 2px solid #dcdcde;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s;
}

.setup-card:hover {
    border-color: #2271b1;
    box-shadow: 0 5px 15px rgba(34, 113, 177, 0.1);
}

.setup-card h3 {
    margin-top: 0;
    font-size: 18px;
}

.setup-card p {
    color: #50575e;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-field input[type="text"],
.form-field input[type="url"],
.form-field input[type="password"],
.form-field select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #dcdcde;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-field.half {
    width: 50%;
}

.logo-upload-wrap {
    display: flex;
    gap: 10px;
}

.logo-upload-wrap input {
    flex: 1;
}

.step-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dcdcde;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.step-actions.center {
    justify-content: center;
}

.success-checklist {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.check-item:last-child {
    margin-bottom: 0;
}

.check-item .dashicons {
    color: #689200;
}

.pro-teaser {
    background: #fdf2e8;
    border: 1px solid #f0ad4e;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-teaser .dashicons {
    color: #f0ad4e;
}

/* Progress bar for import */
.progress-bar-container {
    background-color: #f0f0f0;
    height: 12px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-bar {
    background-color: #2271b1;
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}

/* Star rating hover effect */
.rating-stars > span {
    cursor: pointer;
    transition: transform 0.1s ease;
}
.rating-stars > span:hover,
.rating-stars > span:hover ~ span {
    color: #f0ad4e !important;
}
.rating-stars > span:hover::before,
.rating-stars > span:hover ~ span::before {
    content: "\f155";
}

/* ==========================================================================
   Unified Premium Feature Management Grid & Switches
   ========================================================================== */
.sky-seo-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.sky-seo-feature-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.sky-seo-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(34, 113, 177, 0.05);
}

.sky-seo-feature-card.enabled {
    border-color: #2271b1;
    background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
}

.sky-seo-feature-card.disabled {
    border-color: #f1f5f9;
    background: #fafafa;
    opacity: 0.85;
}

.sky-seo-feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sky-seo-feature-icon {
    font-size: 28px;
    width: 28px;
    height: 28px;
    color: #64748b;
    transition: color 0.3s ease;
}

.sky-seo-feature-card.enabled .sky-seo-feature-icon {
    color: #2271b1;
}

.sky-seo-feature-card.disabled .sky-seo-feature-icon {
    color: #94a3b8;
}

.sky-seo-feature-card-body {
    flex-grow: 1;
}

.sky-seo-feature-title {
    font-size: 15px;
    font-weight: 600;
    color: #1d2327;
    margin: 0 0 6px 0;
    transition: color 0.3s ease;
}

.sky-seo-feature-card.enabled .sky-seo-feature-title {
    color: #1e3a8a;
}

.sky-seo-feature-description {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.sky-seo-feature-card.disabled .sky-seo-feature-description {
    color: #94a3b8;
}

/* Custom iOS-style Switch */
.sky-seo-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.sky-seo-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.sky-seo-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.sky-seo-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input:checked + .sky-seo-slider {
    background-color: #2271b1;
}

input:focus + .sky-seo-slider {
    box-shadow: 0 0 1px #2271b1;
}

input:checked + .sky-seo-slider:before {
    transform: translateX(22px);
}

.sky-seo-slider.round {
    border-radius: 34px;
}

.sky-seo-slider.round:before {
    border-radius: 50%;
}

.sky-seo-pro-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.sky-seo-feature-card.pro-locked {
    border-color: #cbd5e1;
    background: linear-gradient(145deg, #ffffff 0%, #f5f3ff 100%);
    opacity: 0.95;
}

.sky-seo-feature-card.pro-locked .sky-seo-feature-icon {
    color: #7c3aed;
}

.sky-seo-feature-card.pro-locked .sky-seo-feature-title {
    color: #4f46e5;
}