/**
 * AI Pro Plugin - Admin Styles
 *
 * Custom styles for the admin interface
 *
 * @package    AI_Pro_Plugin
 */

/* Reset WordPress admin styles for our app */
.ai-pro-admin-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.ai-pro-admin-wrapper * {
    box-sizing: border-box;
}

/* Loading animation */
.ai-pro-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #f9fafb;
}

/* Hide Vue content until mounted */
[v-cloak] {
    display: none;
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Card styles */
.ai-pro-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

/* Stats card hover effect */
.ai-pro-stat-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.ai-pro-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Modal styles */
.ai-pro-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.ai-pro-modal {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Notification animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.ai-pro-notification {
    animation: slideIn 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    aside {
        position: fixed;
        z-index: 40;
        height: 100vh;
    }
}

/* Custom badge */
.ai-pro-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ai-pro-badge-success {
    background: #dcfce7;
    color: #166534;
}

.ai-pro-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.ai-pro-badge-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Progress bar */
.ai-pro-progress {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.ai-pro-progress-bar {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease;
}

#wpcontent {
    padding-left: 0 !important;
}

#ai-pro-app input {
    border: none !important;
}
