.smprotection_wrap, .smprotection_page_smprotection-all-members .wrap, .smprotection_page_smprotection-membership-levels .wrap {
    background-color: #ffffff;
    margin: 30px 30px 10px 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Tab Navigation */
.nav-tab-wrapper {
    margin-top: 40px;
    border-bottom: none;
    padding: 10px 10px 0px;
    background-color: #efefef;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    overflow-x: auto;
}

/* Tab Links */
.nav-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    background: transparent;
    color: #333;
    margin: 0px;
    font-weight: 500;
    border-radius: 4px 4px 0 0;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.nav-tab:hover {
    background: #e6e6e6;
}
.nav-tab-active:hover {
    background: #ffffff;
    border: none;
}
.nav-tab-active:focus,
.nav-tab-active:focus:active,
.nav-tab-active:hover {
    border: none;
}

.nav-tab-active {
    background: #fff;
    border: none;
    margin: 0px;
    border-bottom: none;
    color: #333;
}

/* Tab Content */
.tab-content {
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content.inactive {
    display: none;
}

.tab-content h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.tab-content p {
    font-size: 14px;
    color: #666;
}

/* Simple Form Styling */
.tab-content input[type="text"],
.tab-content input[type="number"],
.tab-content select {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.tab-content input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.tab-content input[type="submit"]:hover {
    background-color: #005177;
}

.widefat tr td:first-child {
	font-weight: bold;
}
.widefat tbody {
	color: #50575e;
}

/* Member List Table Styles */
.member-protection_page_smprotection-all-members .wp-list-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
}

.member-protection_page_smprotection-all-members .wp-list-table th,
.member-protection_page_smprotection-all-members .wp-list-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.member-protection_page_smprotection-all-members .wp-list-table thead {
    background-color: #f9fafb;
    color: #333;
    font-weight: 600;
}

.member-protection_page_smprotection-all-members .wp-list-table tbody tr:hover {
    background-color: #f1faff;
}

.member-protection_page_smprotection-all-members .wp-list-table .column-actions a {
    color: #0073aa;
    text-decoration: none;
    margin-right: 8px;
}

.member-protection_page_smprotection-all-members .wp-list-table .column-actions a:hover {
    text-decoration: underline;
    color: #005f8d;
}


.smprotection-form-table {
    width: 100%;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0 15px;
    margin-top: 20px;
}

.smprotection-form-table th {
    width: 80px;
    vertical-align: top;
    text-align: left;
    font-weight: 600;
    color: #333;
    padding-top: 10px;
}

.smprotection-form-table td {
    width: 40%;
    padding-top: 10px;
}

.smprotection-form-table input[type="text"],
.smprotection-form-table input[type="email"],
.smprotection-form-table input[type="password"],
.smprotection-form-table select {
    width: 100%;
    max-width: 400px;
    padding: 3px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-size: 14px;
    transition: border-color 0.3s;
}

.smprotection-form-table input:focus,
.smprotection-form-table select:focus {
    border-color: #0073aa;
    outline: none;
    background-color: #fff;
}

.smprotection-submit-button {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.smprotection-submit-button:hover {
    background-color: #005f8d;
}

.smprotection_page_smprotection-all-members .wp-list-table thead, .smprotection_page_smprotection-membership-levels .widefat thead {
	background-color: #0073aa;
}

.smprotection_page_smprotection-all-members .wp-list-table tfoot, .smprotection_page_smprotection-membership-levels .widefat tfoot, .tablenav {
	display: none;
}

.smprotection_page_smprotection-all-members .wp-list-table tr th, .smprotection_page_smprotection-membership-levels .widefat tr th {
	color: #ffffff;
	font-weight: bold;
}

.smprotection_page_smprotection-all-members .wrap .striped>tbody>:nth-child(odd), .smprotection_page_smprotection-membership-levels .widefat tbody>:nth-child(odd) {
	background-color: #efefef;
}

table.widefat {
    margin-top: 41px;
}

.smprotection_page_smprotection-membership-levels .widefat tr .button {
	min-height: 10px;
	line-height: 1.5;
}

.smprotection_page_smprotection-all-members .widefat .column-actions a  {
    color: #2271b1;
    border-color: #2271b1;
    background: #f6f7f7;
    vertical-align: top;
	min-height: 10px;
    line-height: 1.5;
	display: inline-block;
    text-decoration: none;
    font-size: 13px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 3px;
    white-space: nowrap;
    box-sizing: border-box;
}

.smprotection_page_smprotection-membership-levels .widefat tr td form:first-child:after {
	Content: '|';
}

.smprotection_plugins_tab {
    padding: 10px 0;
}

/* GRID LAYOUT */
.smprotection-plugin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* CARD STYLE */
.smprotection-plugin-card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 22px 16px;
    min-height: 120px;

    border-radius: 16px;

    background: #ffffff;
    border: 1px solid #e6e6e6;

    text-decoration: none;
    color: #1d2327;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    box-shadow: 0 2px 8px rgba(0,0,0,0.04);

    transition: all 0.25s ease;

    position: relative;
    overflow: hidden;
}

/* LEFT ACCENT BAR */
.smprotection-plugin-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #2271b1;
    opacity: 0.85;
}

/* HOVER EFFECT */
.smprotection-plugin-card:hover {
    transform: translateY(-6px);
    border-color: #2271b1;
    box-shadow: 0 16px 32px rgba(34, 113, 177, 0.18);
    background: linear-gradient(135deg, #ffffff, #f6faff);
}

/* ACTIVE CLICK FEEL */
.smprotection-plugin-card:active {
    transform: scale(0.98);
}

/* ICON SPACING IMPROVEMENT */
.smprotection-plugin-card {
    letter-spacing: 0.2px;
}
@media (max-width: 768px) {
    .smprotection-form-table th {
        width: 100%;
        padding-bottom: 5px;
    }

    .smprotection-form-table td {
        width: 100%;
    }

    .smprotection-form-table input,
    .smprotection-form-table select {
        max-width: 100%;
    }
}

/* ===== Responsive Enhancements ===== */
@media (max-width: 768px) {
    .smprotection_wrap {
        margin: 20px 15px 10px 15px;
        padding: 15px;
    }

    .tab-content h2 {
        font-size: 18px;
    }
	
	h2 .nav-tab {
		margin: 10px 0 0 0;
	}

    .tab-content p {
        font-size: 13px;
    }

    .nav-tab {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .smprotection_wrap {
        margin: 15px 10px;
        padding: 10px;
    }

    .nav-tab-wrapper {
        flex-direction: column;
        gap: 2px;
    }

	h2 .nav-tab {
		margin: 10px 0 0 0;
	}

    .nav-tab {
        border-radius: 4px;
        text-align: center;
    }

    .tab-content h2 {
        font-size: 16px;
    }

    .tab-content p {
        font-size: 12px;
    }
}
