.bytedefense-wrap {
    margin: 20px 0;
    width: 98%;
}

/* Header styling with increased margin */
.bytedefense-header {
    margin-bottom: 40px; /* Increased margin from the title */
}

.bytedefense-header h1 {
    font-size: 28px;
    color: #1d2327;
    margin: 0;
}

/* Wrapper for tabs and content */
.bytedefense-tabs-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%; /* Full width */
    max-width: none; /* Remove max-width restriction */
}

/* Style for the tabs */
.nav-tab-wrapper {
    margin: 0;
    padding: 0;
    background: #f7f7f7;
    display: flex;
    border-bottom: none;
}

.nav-tab {
    background: #f7f7f7;
    margin: 0;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.nav-tab:hover {
    background: #e8e8e8;
    color: #333;
}

.nav-tab.nav-tab-active {
    background: #fff;
    color: #34C759;
    font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 -2px 0 #34C759 inset;
}

/* Content area */
.bytedefense-content {
    padding: 20px 24px;
    margin: 0;
    background: #fff;
    border: none;
    border-radius: 0 0 8px 8px;
}

.bytedefense-tab-content {
    background: transparent;
    padding: 0;
    border: none;
}

/* Timer styling */
#bytedefense-timer {
    font-size: 48px; /* Large font size for the timer */
    font-weight: 600;
    color: #34C759; /* Green color */
    margin: 20px 0;
    font-family: monospace; /* Monospace font for consistent digit spacing */
    display: none; /* Initially hidden */
}

/* Center the loader */
#bytedefense-loader {
    text-align: center;
    margin: 40px 0;
    display: none;
}

#bytedefense-loader img {
    max-width: 100px;
    margin-bottom: 15px;
}

#bytedefense-loader p {
    color: #34C759;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

/* Report table styling */
.bytedefense-report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.bytedefense-report-table th,
.bytedefense-report-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.bytedefense-report-table th {
    background: #f7f7f7;
    font-weight: 600;
    color: #333;
}

.bytedefense-report-table td {
    color: #555;
}

.bytedefense-report-table tr:last-child td {
    border-bottom: none;
}

/* Status labels */
.bytedefense-status-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.bytedefense-status-scan_start,
.bytedefense-status-scan_path,
.bytedefense-status-scan_done {
    background: #e6f3ff;
    color: #0052cc;
}

.bytedefense-status-ok {
    background: #e6ffed;
    color: #2e7d32;
}

.bytedefense-status-warn {
    background: #ffe6e6;
    color: #d32f2f;
}

/* Report stats */
.bytedefense-report-stats {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bytedefense-report-stats p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.bytedefense-report-stats .bytedefense-warn-count {
    font-weight: 600;
    color: #d32f2f;
}

/* Error message styling */
#bytedefense-result .error {
    color: #d63638;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
}

/* Scan button */
#bytedefense-scan-btn {
    background: #34C759;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 199, 89, 0.3);
}

#bytedefense-scan-btn:hover {
    background: #2eb34f;
    box-shadow: 0 4px 8px rgba(52, 199, 89, 0.4);
    transform: translateY(-1px);
}

.bytedefense-tab-content p {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

/* Center the loader */
#bytedefense-loader {
    text-align: center;
    margin: 40px 0;
    display: none;
}

#bytedefense-loader img {
    max-width: 100px;
    margin-bottom: 15px;
}

#bytedefense-loader p {
    color: #34C759;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

/* Style for Dashicons in navigation tabs */
.nav-tab .dashicons {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 18px;
    line-height: 1;
}

/* Database Scan button */
#bytedefense-database-scan-btn, #bytedefense-btn-green, #bytedefense-install-geo-btn {
    background: #34C759;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(52, 199, 89, 0.3);
}

#bytedefense-database-scan-btn:hover, #bytedefense-btn-green:hover, #bytedefense-install-geo-btn:hover {
    background: #2eb34f;
    box-shadow: 0 4px 8px rgba(52, 199, 89, 0.4);
    transform: translateY(-1px);
}

/* Center the database loader */
#bytedefense-database-loader {
    text-align: center;
    margin: 40px 0;
    display: none;
}

#bytedefense-database-loader img {
    max-width: 100px;
    margin-bottom: 15px;
}

#bytedefense-database-loader p {
    color: #34C759;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

/* Database timer styling */
#bytedefense-database-timer {
    font-size: 48px;
    font-weight: 600;
    color: #34C759;
    margin: 20px 0;
    font-family: monospace;
    display: none;
}

/* Database result styling */
#bytedefense-database-result .error {
    color: #d63638;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
}

/* Status label for REVIEW */
.bytedefense-status-review {
    background: #fff3cd;
    color: #856404;
}

/* Notice styles */
.bytedefense-notice {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 0 0 20px 0;
    border-radius: 6px;
    background: #f8f9fa;
    border-left: 4px solid;
}

.bytedefense-notice-info {
    border-left-color: #34C759; /* Green color for info */
}

.bytedefense-notice .dashicons {
    font-size: 24px;
    margin-right: 20px;
    color: #34C759;
}

.bytedefense-notice p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* GEO Redirect Loader */
.bytedefense-redirect-loader {
    text-align: center;
    margin: 40px 0;
}

.bytedefense-redirect-loader img {
    max-width: 100px;
    margin-bottom: 15px;
}

.bytedefense-redirect-loader p {
    color: #34C759;
    font-weight: 500;
    font-size: 16px;
    margin: 0;
}

/* Upgrade to Premium Section */
.bytedefense-upgrade-premium {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    box-shadow: 0 6px 12px rgba(52, 199, 89, 0.1);
    border: 1px solid #e6f3ff;
    position: relative;
    overflow: hidden;
}

.bytedefense-upgrade-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #34C759, #2eb34f);
}

.bytedefense-premium-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.bytedefense-premium-header h4 {
    font-size: 20px;
    color: #1d2327;
    margin: 0;
    font-weight: 600;
}

.bytedefense-premium-header .dashicons {
    font-size: 24px;
    color: #34C759;
    margin-right: 10px;
    animation: icon-pulse 2s infinite;
}

.bytedefense-upgrade-premium h5 {
    font-size: 16px;
    color: #1d2327;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

.bytedefense-upgrade-premium p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.bytedefense-upgrade-premium ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.bytedefense-upgrade-premium ul li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.bytedefense-upgrade-premium ul li:hover {
    transform: translateX(5px);
}

.bytedefense-upgrade-premium ul li .dashicons {
    color: #34C759;
    margin-right: 10px;
    font-size: 18px;
    animation: icon-bounce 1.5s infinite;
}

.bytedefense-green-button {
    background: linear-gradient(135deg, #34C759 0%, #2eb34f 100%) !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 8px rgba(52, 199, 89, 0.3) !important;
    display: inline-block;
}

.bytedefense-green-button:hover {
    background: linear-gradient(135deg, #2eb34f 0%, #34C759 100%) !important;
    box-shadow: 0 6px 12px rgba(52, 199, 89, 0.4) !important;
    transform: translateY(-2px) !important;
}

.bytedefense-trans-button {
    background: none;
    border: none !important;
    padding: 18px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #333 !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.bytedefense-trans-button:hover {
    transform: translateY(-2px) !important;
}

.bytedefense-btn-pulse {
    animation: btn-pulse 2s infinite;
}

/* Animations */
@keyframes icon-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes icon-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

@keyframes btn-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}