@tailwind base;
@tailwind components;
@tailwind utilities;

.guardian-gaze-admin {
    margin: 20px;
}

.guardian-gaze-container {
    max-width: 1200px;
    margin: 0 auto;
}

.guardian-gaze-scan-options {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-bottom: 20px;
}

.guardian-gaze-select {
    min-width: 200px;
    margin-right: 10px;
}

.guardian-gaze-progress {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    margin-bottom: 20px;
}

.guardian-gaze-progress-bar {
    height: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.guardian-gaze-progress-fill {
    height: 100%;
    background-color: #2271b1;
    width: 100%;
    animation: progress-animation 2s infinite linear;
}

.guardian-gaze-progress-text {
    text-align: center;
    color: #50575e;
}

.guardian-gaze-results {
    background: #fff;
    padding: 20px;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
}

.guardian-gaze-results table {
    width: 100%;
    border-collapse: collapse;
}

.guardian-gaze-results th {
    text-align: left;
    padding: 10px;
}

.guardian-gaze-results td {
    padding: 10px;
    word-break: break-word;
}

.guardian-gaze-error {
    margin: 20px 0;
}

/* Severity colors */
.severity-high {
    color: #dc3232;
    font-weight: bold;
}

.severity-medium {
    color: #ffb900;
    font-weight: bold;
}

.severity-low {
    color: #46b450;
}

.guardian-gaze-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.guardian-gaze-column1 {
    flex: 1;
    min-width: 70%;
}
.guardian-gaze-column2 {
    flex: 1;
    min-width: 30%;
}
.guardian-gaze-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}
.guardian-gaze-card h2 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.guardian-gaze-controls {
    margin: 20px 0;
}
.guardian-gaze-controls select {
    margin-right: 10px;
}
.guardian-gaze-progress-container {
    margin: 20px 0;
    display: none;
}
.progress-bar {
    height: 20px;
    background-color: #f0f0f1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    background-color: #2271b1;
    width: 0;
    transition: width 0.2s ease-in-out;
}
.progress-text {
    text-align: center;
    font-weight: 500;
    color: #1d2327;
}
.guardian-gaze-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}
.stat-box {
    flex: 1;
    min-width: 180px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
}
.stat-box.full-width {
    flex: 100%;
}
.stat-box h3 {
    margin: 0 0 10px 0;
    color: #1d2327;
    font-size: 14px;
}
.stat-box span {
    font-size: 1.2em;
    word-break: break-all;
}
.api-key-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}
.api-key-display code {
    flex: 1;
    padding: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.copy-api-key {
    white-space: nowrap;
}
.severity-high {
    color: #dc2626;
    font-weight: bold;
}
.severity-medium {
    color: #d97706;
    font-weight: bold;
}
.severity-low {
    color: #0369a1;
    font-weight: bold;
}
@media screen and (max-width: 782px) {
    .guardian-gaze-columns {
        flex-direction: column;
    }
    .guardian-gaze-column {
        width: 100%;
    }
}

@keyframes progress-animation {
    0% {
        margin-left: -100%;
    }
    100% {
        margin-left: 100%;
    }
}
.sec h2 {
    color: #000;
    font-weight: 700;
    font-size: 1rem;
}

.sec h2 + p {
    color: #6060a6;
}
/* A - Good (Green) */
.cr-green {
    color: #07d258; /* text color */

    font-weight: 600;
}

/* B - Low Risk (Blue) */
.cr-blue {
    color: #3a86fe;

    font-weight: 600;
}

/* C - Moderate (Yellow) */
.cr-orange {
    color: #ff730e;

    font-weight: 600;
}

/* D - High (Orange/Warning) */
.cr-yellow {
    color: #ffbe0c;

    font-weight: 600;
}

/* F - Severe (Red) */
.cr-red {
    color: #ef3737;

    font-weight: 600;
}

.bg-green-500 {
    --tw-bg-opacity: 1;
    background-color: #07d258 !important;
}

.bg-blue-500 {
    --tw-bg-opacity: 1;
    background-color: #3a86fe !important;
}

.bg-yellow-500 {
    --tw-bg-opacity: 1;
    background-color: #ffbe0c !important;
}

.bg-red-500 {
    --tw-bg-opacity: 1;
    background-color: #ef3737 !important;
}

/* Hidden elements for scan progress */
#hideds {
    display: none;
}

.guardian-gaze-actions {
    margin-top: 20px;
}

.guardian-gaze-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.guardian-gaze-message.success {
    background-color: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
}

.guardian-gaze-message.error {
    background-color: #ffebee;
    border: 1px solid #ef9a9a;
    color: #c62828;
}

.infected-count {
    color: #c62828;
    font-weight: bold;
}

.clean-count {
    color: #2e7d32;
}

.schedule-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
}

.enabled {
    color: #2e7d32;
    font-weight: bold;
}

.disabled {
    color: #c62828;
    font-weight: bold;
}

.w-full.flex.scset h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
    font-weight: 700;
    padding-bottom: 20px;
}

#map {
    height: 600px;
}

.marker-circle {
    border: 3px solid white;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.w-11\/5 {
    width: 11.5%;
}

.w-89\/5 {
    width: 89.5%;
}

.rating .nmber {
    background-image: url("<?php echo esc_url(plugin_dir_url(__DIR__) . "images/star-bg.png"); ?>");
    padding: 10px 15px;
    font-size: 23px;
    color: #fff;
    background-size: cover;
    padding-top: 12px;
    font-weight: 700;
}

svg.green-color circle {
    stroke: #46b450;
}

svg.green-color path {
    fill: #46b450;
}

svg.blue-color circle {
    stroke: #3b82f6;
}

svg.blue-color path {
    fill: #3b82f6;
}

svg.orange-color circle {
    stroke: #eab308;
}

svg.orange-color path {
    fill: #eab308;
}

svg.yellow-color circle {
    stroke: #f97316;
}

svg.yellow-color path {
    fill: #f97316;
}

svg.red-color circle {
    stroke: #ff0000;
}

svg.red-color path {
    fill: #ff0000;
}

.plcs {
    left: -300% !important;
}

@media (min-width: 1279px) and (max-width: 1800px) {
    .c-width {
        width: 23.3%;
    }
}

@media screen and (max-width: 1900px) {
    .bsdkl {
        width: 13.5%;
    }
}

@media screen and (max-width: 1684px) {
    .bsdkl {
        width: 16.5%;
    }

    .bskg .flex .text-lg.font-bold {
        font-size: 12px;
    }

    .bskg .flex span.text-gray-400 {
        font-size: 11px;
    }
}

@media screen and (max-width: 1450px) {
    .bsdkl {
        width: 20.5%;
    }

    .blokc .md\:col-span-3.col-span-12.p-4 {
        padding-left: 0;
        padding-right: 0;
    }

    .bskg .text-lg.font-bold.text-gray-700 {
        font-size: 16px;
    }

    .bskg .flex .text-lg.font-bold {
        font-size: 12px;
    }

    .bskg .flex span.text-gray-400 {
        font-size: 11px;
    }
}

@media screen and (max-width: 1267px) {
    .c-width {
        width: 48%;
    }
}

@media screen and (max-width: 1200px) {
    .blokc {
        display: block;
    }
}

@media screen and (max-width: 991px) {
    .bsdkl {
        width: 23.5%;
    }
}

@media screen and (max-width: 782px) {
    .w-11\/5 {
        width: 32.5%;
    }
}

@media screen and (max-width: 401px) {
    .bsdkl {
        width: 36.5%;
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
    transform-origin: center;
    /* Ensure rotation from center */
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

.guardian-gaze-firewall-stats {
    margin-bottom: 30px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.stat-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}
.stat-box h3 {
    margin-top: 0;
    font-size: 14px;
    color: #555;
}
.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #1d2327;
}
.user-agent-cell {
    position: relative;
}
.user-agent-truncated {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.user-agent-tooltip {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-width: 400px;
    word-break: break-all;
}
.user-agent-cell:hover .user-agent-tooltip {
    display: block;
}
.guardian-gaze-actions {
    margin-top: 20px;
    text-align: right;
}
.guardian-gaze-feature-list li {
    margin-bottom: 10px;
}
.guardian-gaze-info-box {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin-top: 20px;
}

/* Tab Navigation */
.guardian-gaze-tabs {
    max-width: 1400px;
}

.nav-tab-wrapper {
    border-bottom: none;
    margin-bottom: 20px;
}

.grid.grid-cols-3.font-semibold.border-b.pb-2.text-gray-500.ddd {
    background: #eaeef8 !important;
    padding: 10px 8px;
    border-radius: 10px;
}

.nav-tab {
    background: transparent;
    border: 1px solid #ccd0d4;
    border-bottom: none;
    color: #555;
    text-decoration: none;
    padding: 10px 15px;
    margin-right: 5px;
    display: inline-block;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
    border: none !important;
}

.nav-tab-active,
.nav-tab:hover {
    background: #f5f5f5;

    border-bottom: 3px solid #3a86fe !important;
    color: #3a86fe;
    font-weight: 600;
    margin-bottom: -1px;
}

/* Tab Content */
.tab-content {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 0 4px 4px 4px;
    padding: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Cards */
.guardian-gaze-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.guardian-gaze-card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    border: none;
    padding-bottom: 10px;
}

.guardian-gaze-card h3 {
    color: #555;
    margin-top: 25px;
    margin-bottom: 15px;
}
.control-section h3 {
    margin-top: 0;
    color: #333;
}

/* Toggle Switches */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196f3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* IP Input Groups */
.ip-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.ip-input-group input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Tables */
.widefat th {
    background: #f8f9fa;
    font-weight: 600;
}

.widefat td code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 13px;
}

/* IP Type Badges */
.ip-type {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ip-type.ipv4 {
    background: #e3f2fd;
    color: #1976d2;
}

.ip-type.ipv6 {
    background: #f3e5f5;
    color: #7b1fa2;
}

.ip-type.cidr {
    background: #fff3e0;
    color: #f57c00;
}

/* Status Badges */
.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge.active {
    background: #ffebee;
    color: #c62828;
}

.status-badge.expired {
    background: #f3e5f5;
    color: #7b1fa2;
}

.status-badge.blocked {
    background: #ffebee;
    color: #c62828;
}

.status-badge.monitoring {
    background: #e8f5e8;
    color: #2e7d32;
}

/* Attack Type Badges */
.attack-type {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.attack-sql_injection {
    background: #ffebee;
    color: #c62828;
}

.attack-xss {
    background: #fff8e1;
    color: #f57c00;
}

.attack-directory_traversal {
    background: #e3f2fd;
    color: #1976d2;
}

.attack-malicious_user_agent {
    background: #f3e5f5;
    color: #7b1fa2;
}

.attack-rate_limit {
    background: #e8f5e8;
    color: #388e3c;
}

.attack-suspicious_file_access {
    background: #fce4ec;
    color: #ad1457;
}

/* Attempt Count */
.attempt-count {
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    font-size: 12px;
}

.attempt-count.low {
    background: #e8f5e8;
    color: #2e7d32;
}

.attempt-count.medium {
    background: #fff3e0;
    color: #f57c00;
}

.attempt-count.high {
    background: #ffebee;
    color: #c62828;
}

/* Statistics */
.blocked-stats,
.attack-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Country Controls */
.country-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.country-section h3 {
    margin-top: 0;
}

.country-select {
    width: 100%;
    height: 150px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.help-text {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.country-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.country-summary ul {
    margin: 10px 0;
    padding-left: 20px;
}

/* Settings */
.settings-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.settings-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.setting-row {
    margin-bottom: 15px;
}

.setting-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #007cba;
}

.priority-flow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-step {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
}

.step-number {
    background: #007cba;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 5px 0;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.format-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.format-item {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.format-item code {
    display: block;
    background: #e9ecef;
    padding: 8px;
    border-radius: 3px;
    margin-bottom: 5px;
    font-weight: bold;
}

.format-item span {
    font-size: 12px;
    color: #666;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state p:first-child {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Row States */
.blocked-ip {
    background-color: #fff5f5;
}

.expired {
    opacity: 0.6;
}

.expired-text {
    color: #999;
    font-style: italic;
}

.permanent {
    color: #d32f2f;
    font-weight: bold;
}

@media (max-width: 768px) {
    .country-controls {
        grid-template-columns: 1fr;
    }

    .blocked-stats,
    .attack-stats {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .format-examples {
        grid-template-columns: 1fr;
    }
}

.tbl {
    max-height: 700px;
    overflow-y: scroll;
    padding: 0px 10px;
}

.guardian-gaze-login-stats {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-box {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.stat-box h3 {
    margin-top: 0;
    font-size: 14px;
    color: #555;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #1d2327;
}

.security-status {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin: 20px 0;
}

.security-status ul {
    margin: 10px 0;
}

.security-status li {
    margin-bottom: 8px;
}

.status-enabled {
    color: #46b450;
    font-weight: bold;
}

.status-disabled {
    color: #d63638;
    font-weight: bold;
}

.log-type {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.log-type.failed {
    background: #fff2cd;
    color: #856404;
}

.log-type.blocked {
    background: #f8d7da;
    color: #721c24;
}

.log-type.other {
    background: #d1ecf1;
    color: #0c5460;
}

.guardian-gaze-actions {
    margin-top: 20px;
    text-align: right;
}

.guardian-gaze-feature-list li {
    margin-bottom: 10px;
}

.guardian-gaze-info-box {
    background: #f0f6fc;
    border-left: 4px solid #2271b1;
    padding: 15px;
    margin-top: 20px;
}

.guardian-gaze-warning-box {
    background: #fff2cd;
    border-left: 4px solid #f0ad4e;
    padding: 15px;
    margin-top: 20px;
}

.abform th {
    font-size: 13px;
    font-weight: 700;
}

form.abform .submit .button {
    --tw-bg-opacity: 1;
    background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
    border-radius: 0.25rem;
}

body.fw {
    font-family: Arial, sans-serif;
    background: #f1f1f1;
    margin: 0;
    padding: 50px;
}
.fw-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.fw h1 {
    color: #d63638;
    margin-bottom: 20px;
}
.fw p {
    line-height: 1.6;
    color: #333;
}
.fw .reason {
    background: #fff2f2;
    padding: 15px;
    border-left: 4px solid #d63638;
    margin: 20px 0;
}
.fw .footer {
    margin-top: 30px;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.gg_container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Tabs Section */
.gg_tabs-container {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gg_tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gg_tab {
    padding: 10px 20px;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gg_tab:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.gg_tab.active {
    border-color: #3b82f6;
    background: white;
    color: #3b82f6;
}

.gg_action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gg_btn {
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid;
    letter-spacing: 0.3px;
}

.gg_btn-outline {
    background: white;
    color: #3b82f6;
    border-color: #3b82f6;
}

.gg_btn-outline:hover {
    background: #eff6ff;
}

.gg_btn-primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.gg_btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.gg_btn-info {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    font-size: 12px;
    border-color: #3b82f6;
}

.gg_btn-info:hover {
    background: #2563eb;
}

.gg_btn-secondary {
    background: white;
    color: #3b82f6;
    border-color: #3b82f6;
}

.gg_btn-secondary:hover {
    background: #eff6ff;
}

.gg_btn-danger {
    background: white;
    color: #dc2626;
    border-color: #dc2626;
}

.gg_btn-danger:hover {
    background: #fef2f2;
}

.gg_btn-success {
    background: white;
    color: #16a34a;
    border-color: #16a34a;
}

.gg_btn-success:hover {
    background: #f0fdf4;
}

/* Stats Bar */
.gg_stats-bar {
    background: white;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.gg_stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-right: 1px solid #e5e7eb;
}

.gg_stat-item:last-child {
    border-right: none;
}

.gg_stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.gg_stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* Issue Card */
.gg_issue-card {
    background: white;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border-left: 4px solid #dc2626;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.gg_issue-card.critical {
    border-left-color: #dc2626;
}

.gg_issue-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 4px;
    color: #9ca3af;
}

.gg_issue-content {
    flex: 1;
    min-width: 0;
}

.gg_issue-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.gg_issue-title {
    font-size: 13px;
    font-weight: 400;
    color: #111827;
    line-height: 1.5;
    margin-bottom: 4px;
    word-break: break-word;
}

.gg_issue-type {
    font-size: 12px;
    color: #6b7280;
}

.gg_issue-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.gg_issue-time {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.gg_badge {
    padding: 2px 0;
    font-size: 12px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
}

.gg_badge-critical::before {
    content: "●";
    font-size: 16px;
}

.gg_issue-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gg_icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
}

.gg_icon-btn:hover {
    color: #3b82f6;
}

.gg_icon-btn svg {
    color: #9ca3af;
}

.gg_icon-btn:hover svg {
    color: #3b82f6;
}

/* Help Section */
.gg_help-section {
    background: #fef3c7;
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.gg_help-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
}

.gg_help-content {
    flex: 1;
    min-width: 250px;
}

.gg_help-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

.gg_help-content p {
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

.gg_details-expanded {
    background: white;
    padding: 20px;
    margin: 0;
}
.loader-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.gg_details-item {
    padding: 12px 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
    border-bottom: 1px solid #f3f4f6;
}

.gg_details-item:last-of-type {
    border-bottom: none;
}

.gg_details-item strong {
    font-weight: 600;
    color: #111827;
}

.gg_code-highlight {
    background: #fef2f2;
    color: #dc2626;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    word-break: break-all;
}

.gg_action-buttons-detail {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}
.gg_file_type_date {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.gg_critical
{
    color: #ff0000 !important;
}
.gg_high{
    color: #ff730e !important;
}
.gg_medium{
    color: #ffbf00 !important;
}
.gg_low{
    color: #00ff00 !important;
}

.gg_border_critical
{
    border-left: 4px solid #ff0000 !important;
    
}
.gg_border_high{
    border-left: 4px solid #ff730e !important;
}
.gg_border_medium{
    border-left: 4px solid #ffbf00 !important;
}
.gg_border_low{
    border-left: 4px solid #00ff00 !important;
}


@media (max-width: 968px) {
    .gg_tabs-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gg_action-buttons {
        width: 100%;
        justify-content: stretch;
    }
    
    .gg_action-buttons .btn {
        flex: 1;
    }
    
    .gg_stats-bar {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .gg_stat-item {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .gg_stat-item:last-child {
        border-bottom: none;
    }
    
    .gg_issue-card {
        flex-direction: column;
    }
    
    .gg_issue-header {
        flex-direction: column;
    }
    
    .gg_issue-meta {
        align-items: flex-start;
    }
    
    .gg_help-section {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    
    .gg_tabs {
        width: 100%;
    }
    
    .gg_tab {
        flex: 1;
        text-align: center;
        padding: 8px;
        font-size: 12px;
    }
    
    .gg_stats-bar {
        grid-template-columns: 1fr 1fr;
        padding: 8px;
    }
    
    .gg_stat-item {
        flex-direction: column;
        text-align: center;
        gap: 4px;
        padding: 8px;
    }
    
    .gg_issue-actions {
        width: 100%;
    }
    
    .gg_icon-btn {
        flex: 1;
    }
    
    .gg_action-buttons-detail {
        flex-direction: column;
    }
    
    .gg_action-buttons-detail .btn {
        width: 100%;
    }
}

.gg_d-none
{
    display: none;
}

.lds-dual-ring {
  /* change color here */
  color: #1c4c5b
}
.lds-dual-ring,
.lds-dual-ring:after {
  box-sizing: border-box;
}
.lds-dual-ring {
  display: inline-block;
  width: 40px;
  height: 40px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 30px;
  height: 30px;
  margin: 8px;
  border-radius: 50%;
  border: 2.4px solid currentColor;
  border-color: currentColor transparent currentColor transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}