/* =====================================================
   EZY.AI Connection Page - Premium Dark Design
   ===================================================== */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Reset & Base */
.ezy-connection-page {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0 -20px 0 0;
    padding: 0;
    min-height: 100vh;
    color: #ffffff;
}

/* Referral Banner - Extended Orange */
.ezy-referral-banner {
    background: linear-gradient(90deg, #f16001 0%, #e55a00 50%, #d95501 100%);
    padding: 20px 30px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(241, 96, 1, 0.3);
}

.ezy-referral-text {
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.ezy-invite-btn {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.6);
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ezy-invite-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Invite Modal Styles */
.ezy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}

.ezy-modal {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: ezy-modal-appear 0.3s ease-out;
}

@keyframes ezy-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ezy-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ezy-modal-close:hover {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.ezy-modal-header {
    padding: 30px 30px 20px 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ezy-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.ezy-modal-header p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.ezy-modal-body {
    padding: 30px;
}

.ezy-form-group {
    margin-bottom: 20px;
}

.ezy-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin-bottom: 8px;
}

.ezy-form-group input,
.ezy-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ezy-form-group input:focus,
.ezy-form-group textarea:focus {
    outline: none;
    border-color: #f16001;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(241, 96, 1, 0.1);
}

.ezy-form-group input::placeholder,
.ezy-form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.ezy-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.ezy-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ezy-btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ezy-btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.ezy-btn-primary {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f16001 0%, #e55a00 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ezy-btn-primary:hover {
    background: linear-gradient(135deg, #ff7020 0%, #f16001 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(241, 96, 1, 0.4);
}

.ezy-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ezy-invite-success {
    text-align: center;
    padding: 20px 0;
}

.ezy-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    margin: 0 auto 20px auto;
}

.ezy-invite-success h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.ezy-invite-success p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.ezy-invite-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
}

.ezy-error-message {
    margin: 0;
    font-size: 13px;
    color: #ef4444;
}

/* Main Header */
.ezy-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    gap: 30px;
}

.ezy-header-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ezy-logo-section {
    flex-shrink: 0;
}

.ezy-logo-img {
    height: 50px;
    width: auto;
}

.ezy-title-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 10px;
}

.ezy-main-title {
    font-size: 42px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -1px;
}

.ezy-main-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-weight: 400;
}


/* Three Column Grid */
.ezy-three-column-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 24px;
    padding: 0 40px 40px;
}

/* Panel Base Styles - Glassy with no color/hue */
.ezy-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ezy-panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ezy-panel-header h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.ezy-panel-body {
    padding: 24px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Status Badge */
.ezy-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.ezy-status-connected {
    color: #10b981;
}

.ezy-status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ezy-status-disconnected {
    color: rgba(255,255,255,0.5);
}

.ezy-status-retrying {
    color: #f59e0b;
}

.ezy-status-failed {
    color: #ef4444;
}

.ezy-retry-status {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
}

.ezy-retry-message {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.ezy-retry-message p {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Info Rows */
.ezy-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ezy-info-row:last-of-type {
    border-bottom: none;
}

.ezy-info-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

.ezy-info-value {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

/* Button Styles */
.ezy-button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.ezy-btn {
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.ezy-btn-full {
    width: 100%;
}

.ezy-btn-primary {
    background: linear-gradient(135deg, #f16001 0%, #e55a00 100%);
    color: #ffffff;
    border: 1px solid transparent;
}

.ezy-btn-primary:hover {
    background: linear-gradient(135deg, #ff7020 0%, #f16001 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(241, 96, 1, 0.4);
    color: #ffffff;
}

.ezy-btn-secondary {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

.ezy-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
}

/* Sync Info Box */
.ezy-sync-info {
    margin-top: 24px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.ezy-sync-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.ezy-sync-info p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.5;
}

/* Plugin Version */
.ezy-plugin-version {
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* Score Section - Circular Progress */
.ezy-score-section {
    text-align: center;
    margin-bottom: 30px;
}

.ezy-score-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-align: left;
}

.ezy-score-gauge-circular {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.ezy-circular-svg {
    width: 100%;
    height: 100%;
}

.ezy-segment-active {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(94, 234, 212, 0.6)) drop-shadow(0 0 6px rgba(45, 212, 191, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(94, 234, 212, 0.9)) drop-shadow(0 0 12px rgba(45, 212, 191, 0.6));
    }
}

.ezy-score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.ezy-score-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.ezy-score-percent {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.ezy-score-completion {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin: 16px 0 0 0;
    text-align: left;
}

/* Visits Section */
.ezy-visits-section {
    margin-top: 20px;
}

.ezy-visits-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
}

/* Stats Grid */
.ezy-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.ezy-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.ezy-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
}

.ezy-stat-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ezy-chart-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    margin: 0 0 12px 0;
}

.ezy-visits-chart-container {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-sizing: border-box;
    overflow: hidden;
}

/* Pill Chart Styles */
.ezy-pill-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    gap: 12px;
    width: 100%;
}

.ezy-pill-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    max-width: 20px;
}

.ezy-pill-bar {
    width: 100%;
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    min-height: 8px;
    margin-top: auto;
}

.ezy-pill-bar:hover {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
    transform: scaleY(1.05);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.5);
}

.ezy-pill-label {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    text-align: center;
    white-space: nowrap;
}

.ezy-chart-svg {
    width: 100%;
    height: 120px;
    display: block;
    overflow: visible;
}

.ezy-chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 0 0 0;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
}

.ezy-visits-total {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.ezy-visits-empty {
    text-align: center;
    padding: 30px 20px;
    color: rgba(255,255,255,0.5);
}

.ezy-visits-empty p {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.ezy-visits-empty span {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* Features List */
.ezy-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ezy-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ezy-feature-item:hover {
    background: rgba(255,255,255,0.05);
}

.ezy-feature-check-icon {
    width: 24px;
    height: 24px;
    background: rgba(66, 170, 81, 0.15);
    border: 2px solid #42AA51;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #42AA51;
    flex-shrink: 0;
}

.ezy-feature-check-icon svg {
    width: 14px;
    height: 14px;
    stroke: #42AA51;
}

.ezy-feature-name {
    flex: 1;
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
}

.ezy-feature-edit {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.ezy-feature-edit:hover {
    color: #f16001;
}

/* Empty State */
.ezy-empty-state {
    text-align: center;
    padding: 20px 0;
}

.ezy-empty-state p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin: 8px 0;
}

/* Pending Connection */
.ezy-pending-connection {
    text-align: center;
}

.ezy-auth-code-display h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 16px;
}

.ezy-auth-code {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 10px;
    color: #f16001;
    background: rgba(241, 96, 1, 0.1);
    border: 2px solid rgba(241, 96, 1, 0.3);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Courier New', monospace;
}

.ezy-auth-hint {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    margin-top: 12px;
}

.ezy-dashboard-link {
    margin: 24px 0;
}

.ezy-polling-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.ezy-polling-status .spinner {
    float: none;
    margin: 0;
}

/* How to Connect */
.ezy-how-to-connect {
    margin-top: 24px;
    padding: 16px;
    background: rgba(241, 96, 1, 0.08);
    border: 1px solid rgba(241, 96, 1, 0.2);
    border-radius: 10px;
}

.ezy-how-to-connect h4 {
    color: #f16001;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.ezy-how-to-connect ol {
    margin: 0;
    padding-left: 20px;
    color: rgba(255,255,255,0.8);
}

.ezy-how-to-connect li {
    font-size: 13px;
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .ezy-three-column-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .ezy-features-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .ezy-main-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .ezy-search-section {
        text-align: center;
    }
    
    .ezy-main-title {
        font-size: 28px;
    }
    
    .ezy-three-column-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
    }
    
    .ezy-referral-banner {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
}

/* WordPress Admin Overrides */
body.toplevel_page_ezy-ai-connection #wpcontent {
    padding-left: 0 !important;
}

body.toplevel_page_ezy-ai-connection #wpbody-content {
    padding-bottom: 0 !important;
}

body.toplevel_page_ezy-ai-connection .notice {
    margin: 20px 40px;
    background: rgba(255,255,255,0.1);
    border-left-width: 4px;
    color: #ffffff;
}

body.toplevel_page_ezy-ai-connection .notice p {
    color: #ffffff;
}

/* Hidden utility class */
.ezy-hidden {
    display: none !important;
}

/* Button loading state */
.ezy-btn-loading {
    display: none;
}

.ezy-btn-loading:not(.ezy-hidden) {
    display: inline;
}

/* =====================================================
   Content Sync Panel
   ===================================================== */

.ezy-sync-panel {
    margin: 0;
}

.ezy-sync-panel-header {
    flex-wrap: wrap;
    gap: 12px;
}

.ezy-sync-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ezy-sync-refresh-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.ezy-sync-refresh-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
}

.ezy-sync-refresh-btn .ezy-refresh-icon {
    display: inline-block;
}

.ezy-sync-refresh-btn.ezy-refreshing {
    pointer-events: none;
    opacity: 0.6;
}

.ezy-sync-refresh-btn.ezy-refreshing .ezy-refresh-icon {
    animation: ezy-spin 1s linear infinite;
}

@keyframes ezy-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ezy-sync-all-btn {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 8px;
    white-space: nowrap;
}

.ezy-sync-all-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ezy-sync-description {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.ezy-sync-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ezy-sync-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.ezy-sync-table thead th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ezy-sync-table tbody td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
    font-size: 13px;
}

.ezy-sync-table tbody tr:last-child td {
    border-bottom: none;
}

.ezy-sync-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.ezy-sync-label {
    color: #ffffff;
    font-weight: 500;
    width: 40%;
}

.ezy-sync-status {
    width: 30%;
}

.ezy-sync-action {
    width: 30%;
    text-align: right;
}

.ezy-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.ezy-sync-badge-none {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
}

.ezy-sync-badge-available {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.25);
}

.ezy-sync-badge-ok {
    background: #10b981;
    color: #ffffff;
    border: 1px solid #10b981;
}

.ezy-sync-badge-ok::before {
    content: '\2713';
    font-size: 11px;
}

.ezy-btn-sm {
    padding: 7px 18px;
    font-size: 12px;
    border-radius: 6px;
}

.ezy-sync-generate-link {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.ezy-sync-generate-link:hover {
    color: #f16001;
}

.ezy-sync-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: ezy-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes ezy-spin {
    to { transform: rotate(360deg); }
}

.ezy-btn-uploaded {
    background: #10b981;
    border: 1px solid #10b981;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ezy-btn-uploaded:hover {
    background: #059669;
    border-color: #059669;
}

.ezy-sync-timestamp {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-top: 3px;
}

.ezy-sync-success {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #10b981 !important;
}

.ezy-sync-error {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}

.ezy-sync-loading {
    text-align: center;
    padding: 30px 16px !important;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}

@media (max-width: 768px) {
    .ezy-sync-table {
        table-layout: auto;
    }

    .ezy-sync-label,
    .ezy-sync-status,
    .ezy-sync-action {
        width: auto;
    }
}

/* Toast Notifications */
.ezy-toast-container {
    position: fixed;
    top: 40px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ezy-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 440px;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.ezy-toast.ezy-toast-visible {
    transform: translateX(0);
    opacity: 1;
}

.ezy-toast.ezy-toast-hiding {
    transform: translateX(120%);
    opacity: 0;
}

.ezy-toast-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.92), rgba(5, 150, 105, 0.92));
    border: 1px solid rgba(52, 211, 153, 0.3);
}

.ezy-toast-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(185, 28, 28, 0.92));
    border: 1px solid rgba(252, 165, 165, 0.3);
}

.ezy-toast-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(217, 119, 6, 0.92));
    border: 1px solid rgba(252, 211, 77, 0.3);
}

.ezy-toast-info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(29, 78, 216, 0.92));
    border: 1px solid rgba(147, 197, 253, 0.3);
}

.ezy-toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.ezy-toast-body {
    flex: 1;
    min-width: 0;
}

.ezy-toast-title {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.ezy-toast-message {
    font-weight: 400;
    font-size: 12.5px;
    opacity: 0.92;
}

.ezy-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0;
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s;
    margin-top: -2px;
}

.ezy-toast-close:hover {
    color: #fff;
}

.ezy-connection-page .ezy-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 0.75px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
    box-shadow: none;
}

.ezy-connection-page .ezy-panel-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ezy-connection-page .ezy-panel-header h2 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.32px;
}

.ezy-cs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ezy-cs-animate > * {
    animation: ezy-cs-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.ezy-cs-animate > *:nth-child(1) { animation-delay: 0.04s; }
.ezy-cs-animate > *:nth-child(2) { animation-delay: 0.1s; }
.ezy-cs-animate > *:nth-child(3) { animation-delay: 0.16s; }
.ezy-cs-animate > *:nth-child(4) { animation-delay: 0.22s; }
.ezy-cs-animate > *:nth-child(5) { animation-delay: 0.28s; }
.ezy-cs-animate > *:nth-child(6) { animation-delay: 0.34s; }
.ezy-cs-animate > *:nth-child(7) { animation-delay: 0.4s; }

@keyframes ezy-cs-rise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ezy-cs-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 0.75px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.13px;
    line-height: 1;
    white-space: nowrap;
}

.ezy-cs-pill-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.ezy-cs-pill-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    opacity: 0;
}

.ezy-cs-pill[data-state="connected"] {
    background: rgba(104, 243, 73, 0.08);
    border-color: rgba(104, 243, 73, 0.25);
}
.ezy-cs-pill[data-state="connected"] .ezy-cs-pill-dot {
    background: #68f349;
    box-shadow: 0 0 10px rgba(104, 243, 73, 0.6);
}
.ezy-cs-pill[data-state="connected"] .ezy-cs-pill-dot::after {
    border: 1px solid rgba(104, 243, 73, 0.6);
    animation: ezy-cs-ping 2.2s ease-out infinite;
}

.ezy-cs-pill[data-state="pending"],
.ezy-cs-pill[data-state="retrying"] {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.25);
}
.ezy-cs-pill[data-state="pending"] .ezy-cs-pill-dot,
.ezy-cs-pill[data-state="retrying"] .ezy-cs-pill-dot {
    background: #f59e0b;
    animation: ezy-cs-blink 1.4s ease-in-out infinite;
}

.ezy-cs-pill[data-state="failed"],
.ezy-cs-pill[data-state="disconnected"] {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.22);
}
.ezy-cs-pill[data-state="failed"] .ezy-cs-pill-dot,
.ezy-cs-pill[data-state="disconnected"] .ezy-cs-pill-dot {
    background: #f43f5e;
}

@keyframes ezy-cs-ping {
    0% {
        transform: scale(0.5);
        opacity: 0.9;
    }
    70%,
    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

@keyframes ezy-cs-blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

.ezy-cs-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 30px clamp(20px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.03);
    border: 0.75px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.ezy-cs-nodes {
    display: flex;
    align-items: center;
}

.ezy-cs-node {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    border-radius: 24px;
    background: #ffffff;
    border: 0.5px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: box-shadow 0.4s ease;
}

.ezy-cs-node svg,
.ezy-cs-node img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    display: block;
}

.ezy-cs[data-state="connected"] .ezy-cs-node {
    box-shadow: 0 0 0 1px rgba(104, 243, 73, 0.22), 0 0 26px rgba(104, 243, 73, 0.12);
}

.ezy-cs-wire {
    position: relative;
    width: clamp(64px, 14vw, 130px);
    height: 2px;
    margin: 0 14px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.ezy-cs-wire-dot {
    position: absolute;
    top: 50%;
    left: 0;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0;
}

.ezy-cs[data-state="connected"] .ezy-cs-wire {
    background: linear-gradient(90deg, rgba(104, 243, 73, 0.12), rgba(104, 243, 73, 0.55), rgba(104, 243, 73, 0.12));
}
.ezy-cs[data-state="connected"] .ezy-cs-wire-dot {
    background: #68f349;
    box-shadow: 0 0 12px rgba(104, 243, 73, 0.9);
    opacity: 1;
    animation: ezy-cs-travel 2.4s ease-in-out infinite;
}

.ezy-cs[data-state="pending"] .ezy-cs-wire {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0 6px, transparent 6px 12px);
    animation: ezy-cs-dash 0.9s linear infinite;
}

.ezy-cs[data-state="retrying"] .ezy-cs-wire {
    background: repeating-linear-gradient(90deg, rgba(245, 158, 11, 0.55) 0 6px, transparent 6px 12px);
    animation: ezy-cs-dash 1.4s linear infinite;
}

.ezy-cs[data-state="failed"] .ezy-cs-wire {
    background: repeating-linear-gradient(90deg, rgba(244, 63, 94, 0.45) 0 6px, transparent 6px 12px);
}

.ezy-cs[data-state="disconnected"] .ezy-cs-wire {
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 6px, transparent 6px 12px);
}

@keyframes ezy-cs-travel {
    0% {
        left: 0%;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    88% {
        opacity: 1;
    }
    100% {
        left: calc(100% - 7px);
        opacity: 0;
    }
}

@keyframes ezy-cs-dash {
    to {
        background-position: 12px 0;
    }
}

.ezy-cs-hero-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ezy-connection-page .ezy-cs-hero-title {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.32px;
    margin: 0 !important;
}

.ezy-connection-page .ezy-cs-hero-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.28px;
    line-height: 1.5;
    margin: 0 !important;
    max-width: 420px;
}

.ezy-cs-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.ezy-cs-meta-item {
    background: rgba(255, 255, 255, 0.03);
    border: 0.75px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ezy-cs-meta-label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}

.ezy-cs-meta-value {
    font-size: 14px;
    color: #ffffff;
    letter-spacing: -0.14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ezy-cs-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ezy-cs-actions-single {
    grid-template-columns: 1fr;
}

.ezy-cs-actions form {
    width: 100%;
    margin: 0;
}

@media (max-width: 520px) {
    .ezy-cs-actions {
        grid-template-columns: 1fr;
    }
}

.ezy-connection-page .ezy-cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.ezy-connection-page .ezy-cs-btn:active {
    transform: translateY(1px);
}

.ezy-connection-page .ezy-cs-btn:disabled,
.ezy-connection-page .ezy-cs-btn.is-loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.ezy-connection-page .ezy-cs-btn-primary {
    background: #ff5300;
    border: 0.75px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.ezy-connection-page .ezy-cs-btn-primary:hover,
.ezy-connection-page .ezy-cs-btn-primary:focus {
    background: #ff6614;
    color: #ffffff;
}

.ezy-connection-page .ezy-cs-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    border: 0.75px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
}

.ezy-connection-page .ezy-cs-btn-ghost:hover,
.ezy-connection-page .ezy-cs-btn-ghost:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.ezy-connection-page .ezy-cs-btn-danger:hover,
.ezy-connection-page .ezy-cs-btn-danger:focus {
    background: rgba(244, 63, 94, 0.08);
    border-color: rgba(244, 63, 94, 0.4);
    color: #fda4af;
}

.ezy-connection-page a.ezy-cs-btn,
.ezy-connection-page a.ezy-cs-btn:hover,
.ezy-connection-page a.ezy-cs-btn:focus,
.ezy-connection-page a.ezy-cs-btn:active,
.ezy-connection-page a.ezy-cs-btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.ezy-cs-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: ezy-spin 0.7s linear infinite;
}

.ezy-cs-note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 0.75px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 16px;
}

.ezy-cs-note-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 0.75px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.ezy-cs-note-icon svg {
    width: 17px;
    height: 17px;
}

.ezy-connection-page .ezy-cs-note h4 {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.13px;
    margin: 0 0 4px !important;
}

.ezy-connection-page .ezy-cs-note p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.55;
    margin: 0 !important;
}

.ezy-cs-alert {
    border-radius: 10px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.07);
    border: 0.75px solid rgba(245, 158, 11, 0.25);
}

.ezy-cs-alert.is-failed {
    background: rgba(244, 63, 94, 0.07);
    border-color: rgba(244, 63, 94, 0.3);
}

.ezy-cs-alert-rows {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
    margin-bottom: 10px;
}

.ezy-cs-alert-row {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
}

.ezy-cs-alert-row .ezy-cs-alert-label {
    color: rgba(255, 255, 255, 0.55);
}

.ezy-cs-alert-row .ezy-cs-alert-value {
    color: #ffffff;
    font-weight: 500;
}

.ezy-connection-page .ezy-cs-alert p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.55;
    margin: 0 !important;
}

.ezy-cs-codewrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
}

.ezy-connection-page .ezy-cs-code-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 !important;
}

.ezy-cs-code {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.ezy-cs-code-digit {
    width: clamp(40px, 8vw, 50px);
    height: clamp(50px, 10vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 0.75px solid rgba(255, 255, 255, 0.16);
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 600;
    color: #ffffff;
    animation: ezy-cs-pop 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.ezy-cs-code-digit:nth-child(1) { animation-delay: 0.1s; }
.ezy-cs-code-digit:nth-child(2) { animation-delay: 0.16s; }
.ezy-cs-code-digit:nth-child(3) { animation-delay: 0.22s; }
.ezy-cs-code-digit:nth-child(4) { animation-delay: 0.28s; }
.ezy-cs-code-digit:nth-child(5) { animation-delay: 0.34s; }
.ezy-cs-code-digit:nth-child(6) { animation-delay: 0.4s; }

@keyframes ezy-cs-pop {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ezy-connection-page .ezy-cs-copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 0.75px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ezy-connection-page .ezy-cs-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.ezy-connection-page .ezy-cs-copy.is-copied {
    border-color: rgba(104, 243, 73, 0.4);
    color: #a7f3d0;
}

.ezy-cs-copy svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.ezy-connection-page .ezy-cs-code-hint {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    max-width: 380px;
    margin: 0 !important;
}

.ezy-cs-waiting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.ezy-connection-page .ezy-cs-waiting .spinner {
    float: none;
    margin: 0;
    width: 16px;
    height: 16px;
    min-height: 0;
    background: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff5300;
    border-radius: 50%;
    visibility: visible;
    opacity: 1;
}

.ezy-connection-page .ezy-cs-waiting .spinner.is-active {
    animation: ezy-spin 0.7s linear infinite;
}

.ezy-cs-version {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.ezy-cs-connect-form {
    display: flex;
    justify-content: center;
    margin: 0;
}

.ezy-cs-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: ezy-cs-fade 0.25s ease;
}

@keyframes ezy-cs-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ezy-cs-overlay-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    padding: 40px 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 0.75px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(45px);
    -webkit-backdrop-filter: blur(45px);
    animation: ezy-cs-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ezy-cs-overlay-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: #ff5300;
    border-radius: 50%;
    animation: ezy-spin 0.8s linear infinite;
}

.ezy-cs-overlay-text {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.15px;
}

.ezy-cs-overlay-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.ezy-conn-howto {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.ezy-connection-page .ezy-conn-howto-label {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.16px;
    margin-bottom: 14px !important;
    text-align: left;
}

.ezy-connection-page .ezy-conn-howto ol {
    list-style: decimal;
    padding-left: 22px;
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.ezy-connection-page .ezy-conn-howto ol li {
    list-style: decimal;
    list-style-position: outside;
    text-align: left;
    padding-left: 4px;
}

@media (max-width: 520px) {
    .ezy-cs-node {
        width: 60px;
        height: 60px;
        border-radius: 19px;
    }
    .ezy-cs-node svg,
    .ezy-cs-node img {
        width: 42px;
        height: 42px;
    }
    .ezy-cs-wire {
        margin: 0 10px;
    }
    .ezy-cs-hero {
        padding: 24px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ezy-cs-animate > *,
    .ezy-cs-code-digit,
    .ezy-cs-wire,
    .ezy-cs-wire-dot,
    .ezy-cs-pill-dot,
    .ezy-cs-pill-dot::after,
    .ezy-cs-overlay,
    .ezy-cs-overlay-card {
        animation: none !important;
    }
    .ezy-cs[data-state="connected"] .ezy-cs-wire-dot {
        left: 50%;
    }
}
