$primary-color : #F26C0D;
$secondary-color : #F0F0F1;
$primary-text-color: #1E1E1E;
$secondary-text-color: #3C434A;
$button-text-color: #756C69;
$max-width: 1400px;

.sp-location-weather-block-setting {

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    // width and padding.
    .spl-weather-blocks-settings-page-wrapper,
    .spl-weather-block-settings-navigation ul {
        max-width: $max-width;
        margin: 0 auto;
        padding: 0 50px;
    }

    .spl-weather-block-setting-header-wrapper {
        height: 72px;
        padding: 20px 50px;
        display: flex;
        justify-content: space-between;
        color: #fff;
        align-items: center;
        max-width: $max-width;
        margin: 0 auto;
    }

    // override default a tag focus style.
    .wp-person a:focus .gravatar,
    a:focus,
    a:focus .media-icon img,
    a:focus .plugin-icon {
        box-shadow: none;
        outline: none;
    }

    .splwb-video-section-btn {
        ul {
            display: flex;
            gap: 18px;
            margin: 0;

            li {
                display: inline-flex;
                margin-bottom: 0;

                a {
                    color: $button-text-color;
                    text-decoration: none;
                    font-size: 16px;
                    font-weight: 600;
                    padding: 17px 24px;
                    border-radius: 4px;
                    border: 1px solid transparent;
                    transition: all .3s linear;
                }
            }

            li:nth-child(1) a {
                color: #fff;
                background-color: $primary-color;
            }

            li:nth-child(1) a:hover {
                background-color: #e9510c;
            }

            li:nth-child(2) a {
                display: flex;
                color: #756C69;
                border-color: #756C69;

                svg {
                    margin-left: 5px;
                    margin-right: -4px;
                    fill: #756C69;
                    transition: all .3s linear;
                }
            }

            li:nth-child(2) a:hover {
                color: #fff;
                background-color: $primary-color;
                border-color: $primary-color;

                svg {
                    margin-left: 5px;
                    fill: #fff;
                }
            }
        }
    }
}

// weather admin panel tabs css.
.spl-weather-block-settings-navigation {
    padding-top: 32px;
    background: #fff;
    margin-bottom: 48px;

    ul {
        display: flex;
        margin: 0;
        margin: 0 auto;

        li {
            font-size: 16px;
            font-weight: 500;
            line-height: 20px;
            margin: 0;

            a {
                text-decoration: none;
                padding: 13px 16px;
                display: inline-block;
                color: $primary-text-color;
                border: 1px solid transparent;
                border-radius: 4px 4px 0 0;
                transition: all 0.2s;

                &.active {
                    color: $primary-color;
                    border-color: $primary-color;
                    background-color: #F0F0F1;
                    border-bottom-color: #F0F0F1;
                }
            }
        }
    }
}

// getting start page css.
.splwb-settings-getting-start-page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    &-content {
        display: flex;
        gap: 40px;
    }

    // video intro section.
    .splwb-video-section {
        padding: 40px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 1px 2px 0 rgba(17, 17, 17, 0.2);
        width: 65%;
    }

    //  video intro section text;
    .splwb-video-section-text {
        h3 {
            color: $primary-text-color;
            margin: 0;
            font-size: 28px;
            font-weight: 600;
            line-height: 28px;
            margin-bottom: 20px;
        }

        span {
            color: $secondary-text-color;
            display: block;
            margin-top: 18px;
            font-size: 15px;
            font-weight: 400;
        }
    }

    //  video section video tag;
    .splwb-video-section-video {
        width: 100%;
        margin: 24px 0 36px 0;
        padding-bottom: 56.25%;
        position: relative;

        iframe {
            border-radius: 8px;
            border: none;
            border: 0;
            position: absolute;
            height: 100%;
            width: 100%;
            top: 0;
        }
    }

    // sidebar cards.
    .splwb-sidebar-section {
        width: 35%;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    // sidebar-info-card css.
    .splwb-sidebar-info-card {
        background-color: #fff;
        border-radius: 4px;
        padding: 28px;
        box-shadow: 0 1px 2px 0 rgba(108, 99, 99, 0.2);
        width: 100%;

        &-title {
            display: flex;
            align-items: center;
            margin-bottom: 12px;

            h4 {
                color: $primary-text-color;
                margin: 0;
                font-size: 18px;
                font-weight: 600;
                line-height: 20px;
                margin-left: 10px;
            }
        }

        &-text {
            color: $secondary-text-color;
            font-size: 14px;
            font-weight: 400;
            line-height: 22px;
            margin-bottom: 24px;
        }

        &-btn {
            color: $button-text-color;
            text-decoration: none;
            border: 1px solid $button-text-color;
            padding: 10px 16px;
            font-size: 14px;
            line-height: 16px;
            font-weight: 600;
            border-radius: 3px;
            display: inline-block;
            transition: all .3s linear;
        }

        &-btn:hover {
            background-color: $primary-color;
            color: #fff;
            border-color: $primary-color;
        }
    }
}

// .footer css
.spl-weather-settings-page-footer {
    margin: 80px auto 0;
    width: 310px;

    &-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    h4 {
        color: #6E6A69;
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        text-align: center;
    }

    &-title {
        h4 {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 4px;

            i {
                color: #E57373;
            }
        }
    }

    &-social-media {
        h4 {
            margin: 12px auto;
        }

        ul {
            margin: 0 auto;
            display: flex;
            width: 120px;
            gap: 16px;

            li {
                margin: 0;

                a:focus {
                    box-shadow: none;
                    outline: none;
                    border: none;
                }
            }
        }
    }
}