.gmi-intercept-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.gmi-intercept-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    text-align: center;
}

.gmi-intercept-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: gmiPulse 2s infinite;
}

@keyframes gmiPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.gmi-intercept-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.gmi-intercept-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.gmi-intercept-url-info {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    word-break: break-all;
}

.gmi-intercept-url-info .gmi-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.gmi-intercept-url-info .gmi-url {
    color: #666;
    font-size: 14px;
}

.gmi-intercept-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.gmi-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.gmi-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.gmi-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.gmi-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.gmi-btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.gmi-intercept-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 30px;
    text-align: left;
    border-radius: 5px;
}

.gmi-intercept-warning p {
    color: #856404;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .gmi-intercept-wrapper {
        padding: 40px 20px;
    }

    .gmi-intercept-title {
        font-size: 24px;
    }

    .gmi-intercept-content {
        font-size: 14px;
    }

    .gmi-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* Admin Styles */
.gmi-logs-section {
    margin-top: 20px;
}

.gmi-logs-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.gmi-logs-filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.gmi-logs-filters input[type="date"] {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.gmi-logs-filters button {
    margin-left: 5px;
}

.gmi-logs-section table {
    margin-top: 20px;
}

.gmi-logs-section table th {
    font-weight: 600;
    text-align: left;
}

.gmi-logs-section table td {
    vertical-align: middle;
}

.gmi-stats-section {
    margin-top: 20px;
}

.gmi-stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gmi-stat-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gmi-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gmi-stat-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gmi-stat-card p {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin: 0;
}

.gmi-stats-chart {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.gmi-stats-chart canvas {
    max-width: 100%;
    height: 100% !important;
}

@media (max-width: 768px) {
    .gmi-logs-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .gmi-logs-filters label {
        flex-direction: column;
        align-items: flex-start;
    }

    .gmi-logs-filters input[type="date"] {
        width: 100%;
    }

    .gmi-logs-filters button {
        margin-left: 0;
    }

    .gmi-stats-cards {
        grid-template-columns: 1fr;
    }

    .gmi-stats-chart {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .gmi-stat-card {
        padding: 15px;
    }

    .gmi-stat-card h3 {
        font-size: 12px;
    }

    .gmi-stat-card p {
        font-size: 20px;
    }

    .gmi-stats-chart {
        height: 250px;
        padding: 15px;
    }
}

/* Advanced Stats Styles */
.gmi-advanced-stats {
    margin-top: 20px;
}

.gmi-top-list {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gmi-top-list table {
    width: 100%;
    border-collapse: collapse;
}

.gmi-top-list th {
    font-weight: 600;
    text-align: left;
    padding: 12px;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.gmi-top-list td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.gmi-top-list tr:hover {
    background: #f8f9fa;
}

/* Settings Management Styles */
.gmi-export-settings,
.gmi-import-settings,
.gmi-cleanup-logs {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gmi-export-settings p,
.gmi-import-settings p,
.gmi-cleanup-logs p {
    margin-bottom: 15px;
    color: #666;
}

.gmi-import-form {
    margin-top: 10px;
}

.gmi-import-form input[type="file"] {
    margin-bottom: 10px;
}

.gmi-cleanup-days {
    width: 100px;
    margin-right: 10px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* API Info and Theme Integration Styles */
.gmi-api-info,
.gmi-theme-integration {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.gmi-api-info h4,
.gmi-theme-integration h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gmi-api-info ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.gmi-api-info li {
    margin-bottom: 8px;
    color: #666;
}

.gmi-theme-integration p {
    margin-bottom: 10px;
    color: #666;
}

.gmi-theme-integration strong {
    color: #333;
}

/* Button Styles */
.gmi-export-btn,
.gmi-import-btn,
.gmi-cleanup-btn {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gmi-export-btn:hover,
.gmi-import-btn:hover,
.gmi-cleanup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Loading Animation */
@keyframes gmiPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.gmi-loading {
    animation: gmiPulse 1.5s infinite;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

/* Error and Success Messages */
.gmi-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.gmi-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .gmi-top-list {
        padding: 15px;
    }

    .gmi-top-list th,
    .gmi-top-list td {
        padding: 8px;
    }

    .gmi-export-settings,
    .gmi-import-settings,
    .gmi-cleanup-logs {
        padding: 15px;
    }

    .gmi-api-info,
    .gmi-theme-integration {
        padding: 15px;
    }
}

/* Third Party Service Styles */
.gmi-third-party-section {
    margin-top: 20px;
}

.gmi-third-party-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.gmi-third-party-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.gmi-third-party-card p {
    margin-bottom: 15px;
    color: #666;
}

/* Captcha Styles */
.gmi-captcha-section {
    margin: 20px 0;
    text-align: center;
}

.gmi-captcha-image {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gmi-captcha-image:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gmi-captcha-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 10px;
    text-align: center;
}

.gmi-captcha-section button {
    margin-top: 5px;
}
