/**
 * NexLink PRO Skins
 * Professional, natural design with flat blue theme
 * No glassmorphism, no neon effects - clean and human-centered
 */

/* ROOT VARIABLES (Natural Blue/Gray Theme) */
:root {
    --nexlink-pro-primary: #2563eb;      /* Natural Blue */
    --nexlink-pro-primary-dark: #1d4ed8; /* Darker Blue */
    --nexlink-pro-primary-light: #dbeafe;/* Light Blue Background */
    --nexlink-pro-white: #FFFFFF;
    --nexlink-pro-gray-light: #f8fafc;
    --nexlink-pro-gray-medium: #e2e8f0;
    --nexlink-pro-text-primary: #1e293b;
    --nexlink-pro-text-secondary: #64748b;
}

/* 1. PROFESSIONAL INLINE LINK SKIN (.nexlink-skin-pro-inline) */
a.nexlink-skin-pro-inline {
    display: inline;
    padding: 2px 8px;
    margin: 0 2px;
    background-color: var(--nexlink-pro-primary-light);
    color: var(--nexlink-pro-primary-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a.nexlink-skin-pro-inline:hover {
    background-color: var(--nexlink-pro-primary);
    color: var(--nexlink-pro-white);
}

/* 2. CARD WITH IMAGE (.nexlink-skin-image-card) */
a.nexlink-skin-image-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    
    background-color: var(--nexlink-pro-white);
    border: 1px solid var(--nexlink-pro-gray-medium);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    text-decoration: none;
    color: var(--nexlink-pro-text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    max-width: 100%;
    vertical-align: middle;
}

a.nexlink-skin-image-card:hover {
    border-color: var(--nexlink-pro-primary);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.15);
}

a.nexlink-skin-image-card img.nexlink-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

a.nexlink-skin-image-card .nexlink-info {
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 4px;
}

a.nexlink-skin-image-card .nexlink-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: var(--nexlink-pro-text-primary);
}

a.nexlink-skin-image-card .nexlink-excerpt {
    font-size: 14px;
    color: var(--nexlink-pro-text-secondary);
    line-height: 1.4;
}

/* 3. FEATURED CARD SKIN (.nexlink-skin-featured) */
a.nexlink-skin-featured {
    display: block;
    background-color: var(--nexlink-pro-white);
    border: 2px solid var(--nexlink-pro-primary);
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
    text-decoration: none;
    color: var(--nexlink-pro-text-primary);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.nexlink-skin-featured:hover {
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.2);
    transform: translateY(-2px);
}

a.nexlink-skin-featured .nexlink-featured-label {
    display: inline-block;
    background-color: var(--nexlink-pro-primary);
    color: var(--nexlink-pro-white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

a.nexlink-skin-featured .nexlink-featured-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--nexlink-pro-text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

a.nexlink-skin-featured .nexlink-featured-desc {
    font-size: 14px;
    color: var(--nexlink-pro-text-secondary);
    line-height: 1.5;
}

/* 4. CLEAN LIST ITEM (.nexlink-skin-list-item) */
a.nexlink-skin-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin: 4px 0;
    background-color: var(--nexlink-pro-white);
    border: 1px solid var(--nexlink-pro-gray-medium);
    border-radius: 6px;
    text-decoration: none;
    color: var(--nexlink-pro-text-primary);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

a.nexlink-skin-list-item:hover {
    background-color: var(--nexlink-pro-gray-light);
    border-color: var(--nexlink-pro-primary);
}

a.nexlink-skin-list-item .nexlink-list-icon {
    width: 20px;
    height: 20px;
    color: var(--nexlink-pro-primary);
    flex-shrink: 0;
}

a.nexlink-skin-list-item .nexlink-list-title {
    font-weight: 500;
    font-size: 15px;
    color: var(--nexlink-pro-text-primary);
}

/* =====================================================
   WIZARD & PROGRESS BAR STYLING
   Natural gray/blue theme for setup wizard
   ===================================================== */

.wizard-progress-wrap {
    background-color: #e5e7eb;
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
    margin: 20px 0 12px;
    display: none;
}

.wizard-progress-wrap.active {
    display: block;
}

.wizard-progress-bar {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 0.3s ease;
}

.wizard-status-text {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
}

/* Wizard Container (if needed) */
.nexlink-wizard-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.nexlink-wizard-header {
    text-align: center;
    margin-bottom: 28px;
}

.nexlink-wizard-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.nexlink-wizard-header p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* Wizard Steps Navigation */
.wizard-steps-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 28px 0;
}

.wizard-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.2s ease;
}

.wizard-step-dot.active {
    background: #2563eb;
    width: 28px;
    border-radius: 5px;
}

.wizard-step-dot.completed {
    background: #059669;
}

/* Wizard Buttons */
.wizard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.wizard-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.wizard-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

.wizard-btn.secondary {
    background: #f1f5f9;
    color: #475569;
}

.wizard-btn.secondary:hover {
    background: #e2e8f0;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    a.nexlink-skin-image-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    a.nexlink-skin-image-card img.nexlink-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
    
    .nexlink-wizard-container {
        padding: 24px 20px;
        margin: 20px;
    }
}