/* ============================================
   ADMIN SETUP & DASHBOARD CLEANUP
   ============================================ */

/* Hide Admin Notices on Vendor Dashboard */
.notice,
.updated,
.error,
.update-nag,
#message {
    display: none !important;
}

/* Page Background */
.toplevel_page_vendboard-setup #wpbody-content {
    background: #f0f2f5;
}

.wrap {
    margin-top: 40px;
}

.vdx-setup-container {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.45fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Left Column: Demo Card */
.vdx-demo-card-main {
    /* Sticky removed per user request */
    position: relative;
}

.vdx-demo-card {
    background: #1a202c;
    color: #fff;
    border-radius: 24px;
    padding: 50px 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vdx-demo-card-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.vdx-demo-card-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #fff;
}

.demo-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.demo-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 26px;
}

.demo-content p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.9;
}

.vdx-security-warning {
    background: #fff;
    border-radius: 12px;
    padding: 15px 18px;
    margin: 10px 0;
    font-size: 13px;
    color: #4a5568;
    display: flex;
    gap: 12px;
    text-align: left;
    line-height: 1.5;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.vdx-security-warning .dashicons {
    color: #f6ad55;
    flex-shrink: 0;
    font-size: 20px;
}

.vdx-security-warning strong {
    color: #2d3748;
    display: block;
    margin-bottom: 2px;
}

#vendboard-create-demo-vendor {
    background: white;
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#vendboard-create-demo-vendor:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.vdx-demo-features {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.vdx-demo-features h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vdx-demo-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vdx-demo-features li {
    padding: 8px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vdx-demo-features li::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

/* Demo Result Card */
.vdx-demo-result-card {
    background: #fff;
    color: #2d3748;
    border-radius: 12px;
    padding: 24px;
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* Right Column: Setup Checklist */
.vdx-setup-inner {
    margin: 4px;
    border-radius: 18px;
    padding: 0 50px 40px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.vdx-header {
    text-align: center;
    margin-bottom: 40px;
}

.vdx-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 7px 0;
    letter-spacing: -0.5px;
}

.vdx-header p {
    font-size: 17px;
    color: #718096;
    margin: 0;
    font-weight: 400;
}

.vdx-progress-section {
    background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%);
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 35px;
    animation: slideUp 0.6s ease-out 0.1s backwards;
    border: 1px solid #e2e8f0;
}

.vdx-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vdx-progress-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}


.vdx-progress-count {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    background: white;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.vdx-progress-bar-container {
    background: #e2e8f0;
    height: 12px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.vdx-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #45b675 0%, #3ba76c 100%);
    border-radius: 20px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: progressFill 1.5s ease-out;
    position: relative;
    overflow: hidden;
}

.vdx-progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.vdx-checklist {
    display: grid;
    gap: 20px;
}

.vdx-check-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideUp 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.vdx-check-item-success {
    border-color: #48bb78;
    background: linear-gradient(135deg, #f0fff4 0%, #fafffd 100%);
}

.vdx-check-item:nth-child(1) {
    animation-delay: 0.2s;
}

.vdx-check-item:nth-child(2) {
    animation-delay: 0.3s;
}

.vdx-check-item:nth-child(3) {
    animation-delay: 0.4s;
}

.vdx-check-item-success::before {
    background: linear-gradient(180deg, #48bb78 0%, #38a169 100%);
    opacity: 1;
}

.vdx-check-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

a.vdx-badge:hover {
    color: white;
}

.vdx-check-item:hover .vdx-check-icon {
    transform: scale(1.1);
}

.vdx-check-item-success::before {
    background: linear-gradient(180deg, #48bb78 0%, #38a169 100%);
    opacity: 1;
}

.vdx-check-header {
    display: flex;
    align-items: center;
    gap: 30px;
}

.vdx-check-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.vdx-check-icon-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    animation: checkmark 0.5s ease-out;
}

.vdx-check-header .dashicons-yes,
.vdx-check-header .dashicons-no {
    font-size: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashicons,
.dashicons-before:before {
    font-family: dashicons;
    display: inline-block;
    line-height: 1;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 20px;
    height: 20px;
    font-size: 20px;
    vertical-align: top;
    text-align: center;
    transition: color .1s ease-in;
}

.vdx-check-icon .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
}

.vdx-check-content {
    flex: 1;
}

.vdx-check-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.vdx-check-desc {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin: 0 0 5px 0;
}

.vdx-badge-wrapper {
    display: flex;
    gap: 15px;
}

.vdx-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.vdx-badge-success {

    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
}

.vdx-link-active {
    margin: unset;
}

.vdx-check-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Completion Card */
.vdx-completion-card {
    text-align: center;
    padding: 15px 10px;
    border-radius: 5px;
    margin: 35px 0;
    font-size: 19px;
    font-weight: 600;
    animation: slideUp 0.6s ease-out 0.5s backwards;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.vdx-completion-success {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    border: 2px solid #48bb78;
    color: #22543d;
    box-shadow: 0 10px 30px rgba(72, 187, 120, 0.2);
}

/* Footer */
.vdx-footer {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #a0aec0;
    font-weight: 600;
}

.vdx-footer a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
}

.vdx-footer a:hover {
    color: #1a202c;
}

/* Responsive */
@media (max-width: 1024px) {
    .vdx-setup-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}