/**
 * Admin styles for SeekMake Core with modern design inspired by seekmake.com
 *
 * @since      1.0.0
 * @package    SeekMake_Core
 */

/* ===== AUTHENTICATED DASHBOARD - LOVABLE DESIGN ===== */

/* Lovable Wrapper - Main Container */
.seekmake-lovable-wrapper {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    overflow: hidden;
}

/* Grid Background */
.seekmake-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

/* Decorative Glows */
.seekmake-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
}

.seekmake-glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent);
    top: -100px;
    right: -100px;
}

.seekmake-glow-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent);
    bottom: -100px;
    left: -100px;
}

.seekmake-glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Content Wrapper */
.seekmake-content-wrapper {
    position: relative;
    z-index: 1;
}

/* Header */
.seekmake-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.seekmake-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.seekmake-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.seekmake-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.seekmake-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.seekmake-header-actions {
    display: flex;
    gap: 12px;
}

.seekmake-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
}

.seekmake-header-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.seekmake-disconnect-btn {
    background: #fee2e2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
}

.seekmake-disconnect-btn:hover {
    background: #fecaca !important;
    border-color: #fca5a5 !important;
}

/* Main Content */
.seekmake-main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Hero Section */
.seekmake-hero {
    text-align: center;
    margin-bottom: 60px;
}

.seekmake-hero-icon {
    margin-bottom: 24px;
}

.seekmake-success-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.seekmake-icon-inner-circle {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seekmake-icon-inner-circle svg {
    color: #10b981;
}

.seekmake-badge-success {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    margin-bottom: 24px;
}

.seekmake-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.seekmake-animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.seekmake-badge-success span {
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
}

.seekmake-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.seekmake-text-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seekmake-hero-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Widgets Container */
.seekmake-widgets-container {
    margin-bottom: 60px;
}

.seekmake-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.seekmake-section-title-group h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.seekmake-section-title-group p {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.seekmake-badge-all-active {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #065f46;
}

.seekmake-status-circle {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* Widget Grid */
.seekmake-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.seekmake-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.seekmake-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.seekmake-card-icon-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.seekmake-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seekmake-icon-blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}

.seekmake-icon-purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.seekmake-badge-active {
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #065f46;
}

.seekmake-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.seekmake-card-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.seekmake-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.seekmake-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}

.seekmake-feature-list li svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.seekmake-card-footer {
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.seekmake-shortcode-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.seekmake-shortcode-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #3730a3;
    font-weight: 600;
}

/* How to Use Section */
.seekmake-how-to-use {
    background: white;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.seekmake-how-to-use h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 32px 0;
    text-align: center;
}

.seekmake-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.seekmake-method-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.seekmake-method-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 16px 0;
}

.seekmake-method-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seekmake-method-steps li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.seekmake-method-steps li svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #3b82f6;
}

/* Help Section */
.seekmake-help-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #fbbf24;
    text-align: center;
}

.seekmake-help-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #78350f;
    margin: 0 0 12px 0;
}

.seekmake-help-section p {
    font-size: 16px;
    color: #92400e;
    margin: 0 0 24px 0;
}

.seekmake-help-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.seekmake-help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    text-decoration: none;
    color: #78350f;
    font-weight: 600;
    transition: all 0.2s ease;
}

.seekmake-help-link:hover {
    background: #fffbeb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .seekmake-widget-grid {
        grid-template-columns: 1fr;
    }

    .seekmake-methods-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .seekmake-main-content {
        padding: 40px 20px;
    }

    .seekmake-header-inner {
        padding: 16px 20px;
        flex-direction: column;
        gap: 16px;
    }

    .seekmake-hero-title {
        font-size: 32px;
    }

    .seekmake-hero-subtitle {
        font-size: 16px;
    }

    .seekmake-card {
        padding: 24px;
    }

    .seekmake-how-to-use {
        padding: 24px;
    }
}