@use "./promotion";

.wmufs_mb_50 {
    margin-bottom: 50px;
}

.wmufs_mb_20 {
    margin-bottom: 20px;
}

.wmufs_row {
    display: flex;
    width: 100%;
    overflow: hidden;
    justify-content: space-between;
}

.wmufs_card {
    background: #f8f8f8;
    border: 1px solid #e4e4e4;
    box-shadow: 1px 3px 9px 1px #eee;
    padding: 10px 20px
}

.wmufs-col-8 {
    width: 100%;
    margin-right: 20px;
}

.wmufs-col-4 {
    width: 21.3333333333%;
    flex: 0 0 auto;
}

.wmufs-pro-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.wmufs_card_mini {
    border: 1px solid #eee;
    padding: 10px;
    background: #f0f0f1;

    .support-ticket {
        text-align: center;
        padding: 20px;

        h2 {
            font-size: 25px;
        }

        a {
            display: flex;
            text-decoration: none;
            margin-bottom: 10px;
            align-items: center;
            justify-content: center;
        }
    }

}

body.media_page_easy_media .notice:not(.wmufs-notice) {
    display: none !important;
}


/** Form Styles **/
.wmufs_form_centered {
    display: flex;
    justify-content: center;

    .wmufs_inner_form_box {
        width: 100%;
        max-width: 800px;
    }

    form {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);

        h2{
            padding:0 !important;
        }

        .form-table tbody{
            width: 100%;
            display: inline-table;
        }

        table.form-table {
            width: 100%;
            border:1px solid #ccc;
            padding:20px;
            display: block;
            th {
                text-align: left;
                vertical-align: top;
                padding: 10px 0;
                width: 40%;
                
            }

            td {
                padding: 10px 0;
            }

            select, input[type="number"] {
                width: 100%;
                max-width: 300px;
            }

            small {
                display: block;
                margin-top: 5px;
                color: #777;
            }
        }
    }
}

@media (max-width: 768px) {
    .wmufs_form_centered {
        flex-direction: column;
        align-items: center;

        .wmufs_inner_form_box {
            width: 100%;
            padding: 0 10px;
        }
    }
}

.wmufs_faq_section {
    margin-top: 20px;
    border-radius: 4px;
}

.wmufs_faq_section h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 25px;
    color: #23282d;
    text-align: center;
}

.wmufs_faq_item {
    margin-bottom: 13px;
    border: 1px solid #dadada;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wmufs_faq_item strong {
    display: block;
    color: #0073aa;
}

.wmufs_faq_item p {
    margin: 5px 0 0 0;
    color: #444;
}



/******** System Status ******************/

.wmufs-system-status {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;

    .dashicons-warning {
        color: #cd5c5c;
        font-size: 20px;
    }

    .dashicons-yes {
        color: green;
        font-size: 20px;
    }

    th, td {
        border: 1px solid #ccc;
        padding: 10px;
        text-align: left;

        &:nth-child(2) {
            text-align: center;
            width: 100px;
        }

        &:last-child {
            border-left: none;
        }
    }

    th {
        background-color: #f9f9f9;
        font-weight: 600;
        border-bottom: none;

        &:last-child {
            border-left: none;
        }
    }

    tr td:first-child {
        text-align: left;
    }

    tr:last-child td {
        border-bottom: 1px solid #ccc;
    }
}

.wpifw_status_message {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555d66;
}

// Icon next to "System Status" heading
.system-status-icon {
    font-size: inherit;
    line-height: unset;
}

// Responsive adjustments
@media(max-width: 786px) {
    .wmufs_row {
        display: block;
    }

    .wmufs-col-8,
    .wmufs-col-4 {
        width: 100%;
    }
}


  .wmufs-card {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 20px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        margin-bottom: 20px;
    }
    .wmufs-card-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 20px;
    }
    .wmufs-toggle-buttons {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }
    .wmufs-toggle-btn {
        padding: 6px 14px;
        border: 1px solid #ddd;
        background: #f9f9f9;
        border-radius: 20px;
        cursor: pointer;
        font-weight: 500;
    }
    .wmufs-toggle-btn.active {
        background: #0073aa;
        color: #fff;
        border-color: #0073aa;
    }
    .wmufs-toggle-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    .wmufs-pro-label {
        color: #d54e21;
        font-weight: 600;
        margin-left: 4px;
    }
    .wmufs-toggle-section {
        margin-top: 10px;
    }

    .easymedia-pro-badge{
        border-radius: 1px;
        padding: 3px 5px !important;
        display: inline-block;
        color: #fff;
        font-size: 12px;
        margin-left: 5px;
        background-color: red
    }

// Pro Feature List Styles
.wmufs-pro-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 12px 0 20px 0;
    text-align: center;
}

.wmufs-badge-text {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.wmufs-badge-subtext {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.easymedia-pro-feature-list {
    ul {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }

    li {
        display: flex;
        align-items: flex-start;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f1;
        transition: background-color 0.2s ease;

        &:last-child {
            border-bottom: none;
        }

        &:hover {
            background-color: #f9f9f9;
            padding-left: 8px;
            margin-left: -8px;
            margin-right: -8px;
            padding-right: 8px;
            border-radius: 4px;
        }

        .dashicons {
            color: #46b450;
            font-size: 20px;
            width: 20px;
            height: 20px;
            margin-right: 10px;
            flex-shrink: 0;
        }

        .feature-text {
            color: #2c3338;
            font-size: 14px;
            line-height: 1.5;
        }
    }
}

.wmufs-upgrade-btn {
    width: 100%;
    justify-content: center;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
    }

    .dashicons {
        margin-top: 2px;
    }
}