/* WP Post Migrator Admin Styles */

.wp-post-migrator-container {
    max-width: 1200px;
    margin: 20px 0;
}

.wp-post-migrator-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.wp-post-migrator-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
    color: #23282d;
    font-size: 1.3em;
}

/* Connection Form */
.connection-form {
    max-width: 600px;
}

.connection-status {
    margin-left: 10px;
    font-weight: 500;
}

.connection-status .loading {
    color: #0073aa;
}

.connection-status .message {
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 500;
}

.connection-status .message-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.connection-status .message-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Content Type Tabs */
.content-type-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccd0d4;
}

.content-tab {
    background: #f1f1f1;
    border: 1px solid #ccd0d4;
    border-bottom: none;
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
}

.content-tab:hover {
    background: #e5e5e5;
}

.content-tab.active {
    background: #fff;
    color: #0073aa;
    border-color: #0073aa;
}

/* Content Controls */
.content-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.content-controls .button {
    margin-right: 10px;
}

/* Content Table */
.content-table-container {
    overflow-x: auto;
}

#content-table {
    width: 100%;
    border-collapse: collapse;
}

#content-table th {
    background: #f9f9f9;
    border-bottom: 1px solid #ccd0d4;
    padding: 12px 8px;
    text-align: left;
    font-weight: 600;
}

#content-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

#content-table .no-content {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
}

/* Status indicators */
.status-publish {
    color: #46b450;
    font-weight: 500;
}

.status-draft {
    color: #ffb900;
    font-weight: 500;
}

.status-private {
    color: #dc3232;
    font-weight: 500;
}

/* Migration Summary */
.migration-summary {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.migration-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #23282d;
}

.summary-stats {
    display: flex;
    gap: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #0073aa;
}

/* Progress Section */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f1f1f1;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #005a87);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

#progress-percentage {
    color: #0073aa;
    font-weight: 600;
}

/* Migration Log */
.migration-log {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
}

.migration-log h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #23282d;
}

.log-entries {
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 10px;
}

.log-entry {
    padding: 8px 0;
    border-bottom: 1px solid #f1f1f1;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: #666;
    margin-right: 10px;
}

.log-icon {
    margin-right: 8px;
    font-weight: bold;
}

.log-success .log-icon {
    color: #46b450;
}

.log-error .log-icon {
    color: #dc3232;
}

.log-warning .log-icon {
    color: #ffb900;
}

.log-info .log-icon {
    color: #0073aa;
}

/* Results Section */
.results-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.result-stat {
    flex: 1;
    text-align: center;
    padding: 20px;
    border-radius: 4px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
}

.result-stat.success {
    background: #dff0d8;
    border-color: #d6e9c6;
}

.result-stat.error {
    background: #f2dede;
    border-color: #ebccd1;
}

.result-stat.skipped {
    background: #fcf8e3;
    border-color: #faebcc;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.result-stat.success .stat-number {
    color: #3c763d;
}

.result-stat.error .stat-number {
    color: #a94442;
}

.result-stat.skipped .stat-number {
    color: #8a6d3b;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wp-post-migrator-section {
        padding: 15px;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 15px;
    }
    
    .content-type-tabs {
        display: flex;
        flex-wrap: wrap;
    }
    
    .content-tab {
        flex: 1;
        min-width: 80px;
        text-align: center;
    }
}

/* Checkbox styling */
.check-column input[type="checkbox"] {
    margin: 0;
}

/* Button styling enhancements */
.button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #fff;
}

.button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.button-secondary {
    background: #f7f7f7;
    border-color: #ccc;
    color: #555;
}

.button-secondary:hover {
    background: #fafafa;
    border-color: #999;
}

/* Form styling */
.form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
}

.form-table td {
    padding: 15px 10px;
}

.form-table input[type="text"],
.form-table input[type="url"],
.form-table input[type="password"] {
    width: 100%;
    max-width: 400px;
}

/* Description text */
.description {
    color: #666;
    font-style: italic;
    margin-top: 5px;
}

/* Links */
a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Intro Section Styles */
.wp-post-migrator-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    animation: fadeInIntro 0.6s ease-out;
}

.wp-post-migrator-intro h2 {
    margin-top: 0;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.wp-post-migrator-intro ol {
    margin: 0;
    padding-left: 20px;
}

.wp-post-migrator-intro a {
    color: #fff;
    text-decoration: underline;
}

.wp-post-migrator-intro a:hover {
    color: #e0e0e0;
}

#dismiss-intro {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

#dismiss-intro:hover {
    background: rgba(255, 255, 255, 0.3);
}

.wp-post-migrator-intro .tip {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #fff;
}

@keyframes fadeInIntro {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.wp-post-migrator-intro .intro-icon {
    font-size: 2em;
    margin-bottom: 15px;
    display: block;
}

.wp-post-migrator-intro .intro-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wp-post-migrator-intro .intro-steps li {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
}

.wp-post-migrator-intro .intro-tip {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    border-left: 4px solid #fff;
}

.wp-post-migrator-intro .intro-help {
    margin-top: 20px;
    text-align: center;
}

.wp-post-migrator-intro .intro-help-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wp-post-migrator-intro .intro-help-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Sidebar styles */
.wp-post-migrator-admin-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    padding-top: 30px;
}

.content-migration-pro-wrap {
    padding-top: 30px;
}

.wp-post-migrator-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 24px 0;
    height: fit-content;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.wp-post-migrator-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.wp-post-migrator-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0 12px;
}

.wp-post-migrator-sidebar li {
    margin: 0 0 8px 0;
}

.wp-post-migrator-sidebar li a {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #475569;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.95em;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.wp-post-migrator-sidebar li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wp-post-migrator-sidebar li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.wp-post-migrator-sidebar li a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    color: #667eea;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.wp-post-migrator-sidebar li a:hover::before {
    opacity: 1;
}

.wp-post-migrator-sidebar li a:hover::after {
    width: 200px;
    height: 200px;
}

.wp-post-migrator-sidebar li.active a,
.wp-post-migrator-sidebar li.active a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    color: #ffffff;
    box-shadow: 
        0 4px 12px rgba(102, 126, 234, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateX(0);
    animation: gradientShift 3s ease infinite;
    font-weight: 700;
}

.wp-post-migrator-sidebar li.active a::before {
    opacity: 0;
}

.wp-post-migrator-sidebar li.active a::after {
    background: rgba(255, 255, 255, 0.1);
    width: 200px;
    height: 200px;
}

.wp-post-migrator-sidebar li a span,
.wp-post-migrator-sidebar li a {
    position: relative;
    z-index: 1;
}

/* Main content styles */
.wp-post-migrator-main-content {
    flex: 1;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 30px;
}

/* Banner styles */
.wp-post-migrator-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-post-migrator-banner .banner-text {
    font-size: 1.1em;
}

.wp-post-migrator-banner .banner-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
    font-weight: 500;
}

.wp-post-migrator-banner .banner-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* How it works section */
.how-it-works {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.how-it-works h2 {
    margin-top: 0;
    color: #23282d;
}

.how-it-works ul {
    margin: 0;
    padding-left: 20px;
}

.shortcode-box {
    background: #f1f1f1;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
}

.shortcode-box code {
    background: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #0073aa;
    font-weight: 600;
}

/* Header Layout */
.wp-post-migrator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 16px;
    padding: 24px 32px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wp-post-migrator-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.wp-post-migrator-header:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.plugin-logo {
    display: flex;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    padding: 10px;
    box-shadow: 
        0 8px 20px -5px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
}

.plugin-logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wp-post-migrator-header:hover .plugin-logo {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 
        0 12px 30px -5px rgba(102, 126, 234, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.wp-post-migrator-header:hover .plugin-logo::before {
    opacity: 1;
}

.plugin-logo svg {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.plugin-title {
    font-size: 1.75em;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    line-height: 1.3;
}

.version-badge {
    background: #0073aa;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Upgrade Button */
.upgrade-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upgrade-btn:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.upgrade-icon {
    font-size: 14px;
}

/* Free Version Notice */
.free-version-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 50px;
}

.free-version-notice::before {
    content: "⚠️";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-icon {
    font-size: 24px;
    color: #856404;
}

.notice-text {
    flex: 1;
    color: #856404;
}

.notice-text strong {
    color: #856404;
}

.notice-text a {
    color: #0073aa;
    text-decoration: none;
}

.notice-text a:hover {
    text-decoration: underline;
}

/* Rate Us Button */
.rate-us-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 
        0 4px 6px -1px rgba(251, 191, 36, 0.3),
        0 2px 4px -1px rgba(251, 191, 36, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.rate-us-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.rate-us-btn:hover::before {
    width: 300px;
    height: 300px;
}

.rate-us-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 15px -3px rgba(251, 191, 36, 0.4),
        0 4px 6px -2px rgba(251, 191, 36, 0.3);
}

.rate-us-btn:active {
    transform: translateY(0);
}

.rate-us-btn span,
.rate-us-btn {
    position: relative;
    z-index: 1;
}

.star {
    color: #ffffff;
    font-size: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.rate-us-btn:hover .star {
    transform: scale(1.2) rotate(15deg);
}

/* Dashboard stats cards */
.dashboard-stats {
    margin-bottom: 30px;
}

.dashboard-stats h2 {
    margin-bottom: 20px;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-card .stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 2em;
    font-weight: 600;
    color: #0073aa;
}

.stat-card.total {
    border-left: 4px solid #0073aa;
}

.stat-card.success {
    border-left: 4px solid #46b450;
}

.stat-card.failed {
    border-left: 4px solid #dc3232;
}

.stat-card.skipped {
    border-left: 4px solid #ffb900;
}

/* Plugin details section */
.plugin-details {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 30px;
}

.plugin-details h2 {
    margin-top: 0;
    color: #23282d;
}

.plugin-details p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.plugin-details h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.plugin-steps {
    margin: 0;
    padding-left: 20px;
}

.plugin-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Dashboard footer */
.wp-post-migrator-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.wp-post-migrator-footer .footer-rate-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wp-post-migrator-footer .footer-rate-link:hover {
    text-decoration: underline;
}

.wp-post-migrator-footer .footer-creator {
    color: #666;
}

.wp-post-migrator-footer .footer-creator a {
    color: #0073aa;
    text-decoration: none;
}

.wp-post-migrator-footer .footer-creator a:hover {
    text-decoration: underline;
}

/* Migration tutorial modal styles */
.migration-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 42, 60, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.migration-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
    padding: 36px 40px 28px 40px;
    max-width: 420px;
    width: 100%;
    text-align: left;
    position: relative;
}

.migration-modal h2 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #0073aa;
}

.migration-modal ol {
    margin: 0 0 22px 20px;
    color: #333;
    font-size: 16px;
}

.modal-close-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close-btn:hover {
    background: #005e8a;
}

/* Upgrade Modal */
.upgrade-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upgrade-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.upgrade-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    border-bottom: 1px solid #eee;
}

.upgrade-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.upgrade-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.upgrade-modal-close:hover {
    background: #f5f5f5;
    color: #666;
}

.upgrade-modal-body {
    padding: 25px;
    text-align: center;
}

.upgrade-modal-body .upgrade-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.upgrade-modal-body h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #333;
}

.upgrade-modal-body p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
}

.upgrade-benefits {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.upgrade-benefits h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.upgrade-benefits ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.upgrade-benefits li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.upgrade-modal-footer {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    border-top: 1px solid #eee;
    justify-content: center;
}

.upgrade-now-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3) !important;
}

.upgrade-now-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.4) !important;
    color: #fff !important;
}

/* Selection Counter */
.selection-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
    border: 1px solid #e9ecef;
}

.selection-counter #selected-count {
    font-weight: 600;
    color: #333;
}

.limit-warning {
    color: #e74c3c;
    font-weight: 600;
    font-size: 12px;
    padding: 2px 6px;
    background: #fdf2f2;
    border-radius: 4px;
    border: 1px solid #fadbd8;
}

.fetch-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 24px 0 8px 0;
    flex-wrap: wrap;
}

.fetch-pagination-link {
    display: inline-block;
    min-width: 36px;
    padding: 7px 14px;
    margin: 0 2px;
    border-radius: 22px;
    background: #f4f6f8;
    color: #0073aa;
    font-weight: 500;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: all 0.18s;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.fetch-pagination-link:hover:not(.active):not(.disabled) {
    background: #e3f2fd;
    color: #005a87;
    border-color: #b3e5fc;
    text-decoration: none;
}

.fetch-pagination-link.active {
    background: linear-gradient(135deg, #0073aa 60%, #2196f3 100%);
    color: #fff;
    border-color: #0073aa;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(33,150,243,0.08);
    cursor: default;
}

.fetch-pagination-link.disabled {
    background: #f4f6f8;
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
    pointer-events: none;
}

.fetch-pagination-link.prev,
.fetch-pagination-link.next {
    font-weight: 600;
    padding: 7px 18px;
}

/* Migration Progress Modal */
/* Modern Migration Progress Modal */
.migration-progress-modal-modern {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-content-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    width: 95%;
    max-width: 520px;
    padding: 0;
    position: relative;
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-content-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.modal-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px 20px 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
}

.modal-header-icon-modern {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    color: #667eea;
    flex-shrink: 0;
}

.modal-header-content {
    flex: 1;
    min-width: 0;
}

.modal-title-modern {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.close-modal-btn-modern {
    background: rgba(102, 126, 234, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.close-modal-btn-modern:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    transform: scale(1.05);
}

.modal-body-modern {
    padding: 24px 28px;
}

.modal-progress-bar-modern {
    width: 100%;
    height: 16px;
    background: rgba(226, 232, 240, 0.6);
    border-radius: 10px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) inset;
}

.modal-progress-fill-modern {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-progress-fill-modern::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;
}

.modal-progress-list-modern {
    max-height: 300px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.modal-progress-list-modern::-webkit-scrollbar {
    width: 6px;
}

.modal-progress-list-modern::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
    border-radius: 10px;
}

.modal-progress-list-modern::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.progress-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.progress-item-modern:hover {
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.progress-icon-modern {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.progress-icon-modern.in-progress {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    animation: spin 1s linear infinite;
}

.progress-icon-modern.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.progress-icon-modern.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.progress-title-modern {
    flex: 1;
    font-weight: 600;
    color: #1e293b;
}

.progress-status-modern {
    font-weight: 600;
    min-width: 100px;
    text-align: right;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9em;
}

.progress-status-modern.in-progress {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.progress-status-modern.success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.progress-status-modern.error {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.modal-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
    gap: 16px;
}

.modal-summary-modern {
    font-weight: 600;
    font-size: 0.95em;
    color: #1e293b;
    flex: 1;
}

.modal-footer-modern .btn-modern {
    min-width: 100px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   Migration Results Modern UI
   ============================================ */

.migration-results-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
}

.migration-results-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.migration-results-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.migration-results-icon-modern {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px -5px rgba(102, 126, 234, 0.4);
    color: white;
    flex-shrink: 0;
}

.migration-results-title-modern {
    flex: 1;
    min-width: 0;
}

.migration-results-title-modern h2 {
    margin: 0 0 6px 0;
    font-size: 1.75em;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.migration-results-title-modern p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

.results-summary-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.result-card-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.result-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.result-card-modern.success {
    border-left: 4px solid #10b981;
}

.result-card-modern.error {
    border-left: 4px solid #ef4444;
}

.result-card-modern.skipped {
    border-left: 4px solid #f59e0b;
}

.result-icon-modern {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.result-card-modern.success .result-icon-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.result-card-modern.error .result-icon-modern {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.result-card-modern.skipped .result-icon-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.result-content-modern {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.result-count-modern {
    font-size: 2em;
    font-weight: 800;
    line-height: 1;
    color: #1e293b;
}

.result-label-modern {
    font-size: 0.9em;
    font-weight: 600;
    color: #64748b;
}

.results-details-modern {
    margin-bottom: 32px;
}

.results-details-header-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.results-details-header-modern svg {
    color: #667eea;
    flex-shrink: 0;
}

.results-details-header-modern h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #1e293b;
}

.results-list-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.result-item-modern:hover {
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.result-item-modern.success {
    border-left: 4px solid #10b981;
}

.result-item-modern.error {
    border-left: 4px solid #ef4444;
}

.result-item-icon-modern {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.result-item-modern.success .result-item-icon-modern {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.result-item-modern.error .result-item-icon-modern {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.result-item-content-modern {
    flex: 1;
    min-width: 0;
}

.result-item-title-modern {
    font-weight: 700;
    font-size: 1em;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

.result-item-details-modern {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.9em;
}

.result-item-id-modern {
    color: #64748b;
}

.result-item-status-modern {
    color: #10b981;
    font-weight: 600;
}

.result-item-modern.error .result-item-status-modern {
    color: #ef4444;
}

.results-actions-modern {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    flex-wrap: wrap;
}

.results-actions-modern .btn-modern {
    min-width: 160px;
}

/* Responsive Migration Results */
@media (max-width: 768px) {
    .migration-results-modern {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .migration-results-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .migration-results-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .results-summary-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .results-actions-modern {
        flex-direction: column;
    }
    
    .results-actions-modern .btn-modern {
        width: 100%;
        min-width: auto;
    }
}

/* Large and red Fetch Content button */
.fetch-content-red {
    background: #d63638 !important;
    color: #fff !important;
    border: none !important;
    font-size: 1.2em !important;
    font-weight: bold !important;
    padding: 0.7em 2em !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(214,54,56,0.08);
    transition: background 0.2s;
}

.fetch-content-red:hover, .fetch-content-red:focus {
    background: #a80000 !important;
    color: #fff !important;
}

/* ============================================
   MODERN DASHBOARD STYLES
   ============================================ */

/* Welcome Section */
.dashboard-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    border-radius: 20px;
    padding: 48px 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 
        0 10px 25px -5px rgba(102, 126, 234, 0.4),
        0 20px 40px -10px rgba(118, 75, 162, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.5) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.dashboard-welcome::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.4; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.2; }
}

.dashboard-welcome:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 15px 35px -5px rgba(102, 126, 234, 0.5),
        0 25px 50px -10px rgba(118, 75, 162, 0.4);
}

.welcome-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.welcome-title {
    font-size: 2.75em;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: white;
    text-shadow: 
        0 2px 20px rgba(0,0,0,0.15),
        0 4px 10px rgba(0,0,0,0.1);
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.welcome-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: underlineExpand 1s ease-out;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 80px; }
}

.welcome-subtitle {
    font-size: 1.15em;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0,0,0,0.1);
    letter-spacing: 0.01em;
}

.welcome-actions {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05em;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.2) inset;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-large:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary-large:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.3) inset;
    color: #764ba2;
    text-decoration: none;
}

.btn-primary-large:active {
    transform: translateY(-1px) scale(1);
}

.btn-primary-large svg {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.3));
}

.btn-primary-large:hover svg {
    transform: scale(1.15) rotate(5deg);
}

/* Modern Stats Section */
.dashboard-stats-modern {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card-modern {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.stat-card-modern:hover::before {
    width: 100%;
    opacity: 0.05;
}

.stat-total::before {
    background: #0073aa;
}

.stat-success::before {
    background: #10b981;
}

.stat-failed::before {
    background: #ef4444;
}

.stat-skipped::before {
    background: #f59e0b;
}

.stat-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stat-total .stat-icon {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    color: #0073aa;
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #10b981;
}

.stat-failed .stat-icon {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #ef4444;
}

.stat-skipped .stat-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #f59e0b;
}

.stat-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
    color: #1f2937;
}

.stat-label {
    font-size: 0.95em;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.stat-percentage {
    font-size: 0.85em;
    color: #9ca3af;
    margin-top: 4px;
    font-weight: 500;
}

/* Quick Actions Section */
.dashboard-quick-actions {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.action-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #667eea;
    text-decoration: none;
    color: inherit;
}

.action-card:hover::before {
    opacity: 1;
}

.action-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
    transform: scale(1.1) rotate(5deg);
}

.action-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.action-content h3 {
    margin: 0 0 6px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #1f2937;
}

.action-content p {
    margin: 0;
    font-size: 0.9em;
    color: #6b7280;
    line-height: 1.5;
}

.action-arrow {
    font-size: 1.5em;
    color: #9ca3af;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.action-card:hover .action-arrow {
    color: #667eea;
    transform: translateX(4px);
}

/* How It Works Section */
.dashboard-how-it-works {
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.step-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #1f2937;
}

.step-content p {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95em;
}

/* No Stats Message */
.no-stats-message {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 30px;
}

.no-stats-icon {
    color: #adb5bd;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.no-stats-message h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #495057;
    margin: 0 0 12px 0;
}

.no-stats-message p {
    font-size: 1.1em;
    color: #6c757d;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.btn-start-migration {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-start-migration:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design for Dashboard */
@media (max-width: 1024px) {
    .dashboard-welcome {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 40px 32px;
    }
    
    .welcome-title {
        font-size: 2.25em;
    }
    
    .welcome-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .btn-primary-large {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wp-post-migrator-admin-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .wp-post-migrator-sidebar {
        width: 100%;
        border-radius: 16px;
        padding: 20px 0;
    }
    
    .wp-post-migrator-sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 16px;
    }
    
    .wp-post-migrator-sidebar li {
        flex: 1;
        min-width: calc(50% - 4px);
        margin: 0;
    }
    
    .wp-post-migrator-sidebar li a {
        padding: 12px 16px;
        font-size: 0.9em;
        justify-content: center;
    }
    
    .wp-post-migrator-sidebar li a:hover {
        transform: translateY(-2px);
    }
    
    .wp-post-migrator-header {
        padding: 20px 24px;
        border-radius: 14px;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .header-left {
        gap: 14px;
    }
    
    .plugin-logo {
        width: 42px;
        height: 42px;
        padding: 8px;
    }
    
    .plugin-title {
        font-size: 1.5em;
    }
    
    .rate-us-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
    
    .dashboard-welcome {
        padding: 36px 24px;
        border-radius: 16px;
    }
    
    .welcome-title {
        font-size: 1.9em;
    }
    
    .welcome-subtitle {
        font-size: 1em;
    }
    
    .btn-primary-large {
        padding: 14px 28px;
        font-size: 1em;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card-modern {
        padding: 20px;
    }
    
    .action-card {
        padding: 20px;
    }
    
    .step-card {
        padding: 24px;
    }
}

/* Modern Connection Section - Sleek Design */
.connection-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.connection-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.connection-section-modern:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.connection-header-modern {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.connection-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.connection-icon-modern {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 10px 25px -5px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.connection-icon-modern::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.connection-section-modern:hover .connection-icon-modern {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 15px 35px -5px rgba(102, 126, 234, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.connection-section-modern:hover .connection-icon-modern::before {
    opacity: 1;
}

.connection-title-modern h2 {
    margin: 0 0 6px 0;
    font-size: 1.75em;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    padding: 0;
    letter-spacing: -0.02em;
}

.connection-title-modern p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.6;
}

.connection-form-modern {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-field-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.form-field-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9em;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 0.75em;
}

.form-field-modern label svg {
    color: #667eea;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
    transition: all 0.3s ease;
}

.form-field-modern:focus-within label svg {
    color: #764ba2;
    transform: scale(1.1);
}

.input-modern {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #1e293b;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.input-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 
        0 0 0 4px rgba(102, 126, 234, 0.1),
        0 4px 12px rgba(102, 126, 234, 0.15);
    background: #ffffff;
    transform: translateY(-1px);
}

.input-modern::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.field-description {
    margin: 0;
    font-size: 0.85em;
    color: #64748b;
    line-height: 1.6;
    font-weight: 400;
    padding-left: 2px;
}

.learn-more-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.learn-more-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.learn-more-link:hover {
    color: #764ba2;
}

.learn-more-link:hover::after {
    width: 100%;
}

.connection-actions-modern {
    display: flex;
    gap: 14px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.btn-modern:hover svg {
    transform: scale(1.1);
}

.btn-modern span,
.btn-modern {
    position: relative;
    z-index: 1;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-modern:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    color: white;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary-modern:hover {
    background: linear-gradient(135deg, #5568d3 0%, #653a8f 50%, #e084f0 100%);
    background-size: 200% 100%;
    color: white;
}

.btn-secondary-modern {
    background: #ffffff;
    color: #475569;
    border: 2px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary-modern:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: #667eea;
    color: #667eea;
    box-shadow: 
        0 4px 6px -1px rgba(102, 126, 234, 0.1),
        0 2px 4px -1px rgba(102, 126, 234, 0.06);
}

.status-message-modern {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 500;
    display: none;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid;
    position: relative;
    overflow: hidden;
}

.status-message-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerStatus 2s infinite;
}

@keyframes shimmerStatus {
    0% { left: -100%; }
    100% { left: 100%; }
}

.status-message-modern.show {
    display: block;
}

.status-message-modern.success {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.9) 0%, rgba(167, 243, 208, 0.9) 100%);
    color: #065f46;
    border-color: rgba(167, 243, 208, 0.5);
}

.status-message-modern.error {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.9) 0%, rgba(252, 165, 165, 0.9) 100%);
    color: #991b1b;
    border-color: rgba(254, 202, 202, 0.5);
}

.status-message-modern.info {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.9) 0%, rgba(191, 219, 254, 0.9) 100%);
    color: #1e40af;
    border-color: rgba(191, 219, 254, 0.5);
}

.status-message-modern.loading {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.9) 0%, rgba(253, 230, 138, 0.9) 100%);
    color: #92400e;
    border-color: rgba(253, 230, 138, 0.5);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive adjustments for connection section */
@media (max-width: 768px) {
    .connection-section-modern {
        padding: 28px 24px;
        border-radius: 16px;
    }
    
    .connection-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .connection-header-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .connection-icon-modern {
        width: 64px;
        height: 64px;
    }
    
    .connection-title-modern h2 {
        font-size: 1.5em;
    }
    
    .connection-form-modern {
        gap: 24px;
    }
    
    .connection-actions-modern {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .input-modern {
        padding: 12px 16px;
    }
}

/* Modern Logs Page Styles */
.logs-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    overflow: visible;
}

.logs-header-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.logs-header-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px -5px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.logs-header-content h1.logs-title-modern {
    margin: 0 0 6px 0;
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow: visible;
    word-wrap: break-word;
    white-space: normal;
}

.logs-subtitle-modern {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.6;
}

.logs-filter-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.logs-filter-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.logs-filter-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.filter-title-modern {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title-modern svg {
    color: #667eea;
}

.filter-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.filter-field-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-field-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.filter-field-modern label svg {
    color: #667eea;
    flex-shrink: 0;
}

.filter-field-modern select.input-modern,
.filter-field-modern input.input-modern {
    width: 100%;
}

.filter-actions-modern {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.logs-table-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.logs-table-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.logs-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.logs-table-modern thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.logs-table-modern th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85em;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.logs-table-modern tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.logs-table-modern tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.logs-table-modern tbody tr:last-child {
    border-bottom: none;
}

.logs-table-modern td {
    padding: 14px 16px;
    font-size: 0.9em;
    color: #475569;
    vertical-align: middle;
}

.logs-table-modern .status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logs-table-modern .status-success {
    background: linear-gradient(135deg, rgba(209, 250, 229, 0.8) 0%, rgba(167, 243, 208, 0.8) 100%);
    color: #065f46;
}

.logs-table-modern .status-error {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.8) 0%, rgba(252, 165, 165, 0.8) 100%);
    color: #991b1b;
}

.logs-table-modern .status-skipped {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.8) 0%, rgba(253, 230, 138, 0.8) 100%);
    color: #92400e;
}

.no-logs-modern {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 1.1em;
}

.logs-pagination-modern {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.logs-pagination-modern a,
.logs-pagination-modern span,
.logs-pagination-modern .logs-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
}

.logs-pagination-modern a:hover,
.logs-pagination-modern .logs-pagination-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.logs-pagination-modern .current,
.logs-pagination-modern .logs-pagination-link.current,
.logs-pagination-modern .active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.logs-pagination-modern span {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: default;
}

/* Responsive Logs Page */
@media (max-width: 1024px) {
    .filter-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logs-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .logs-header-icon {
        width: 56px;
        height: 56px;
    }
    
    .logs-title-modern {
        font-size: 1.75em;
    }
    
    .logs-filter-section-modern,
    .logs-table-section-modern {
        padding: 24px;
        border-radius: 16px;
    }
    
    .filter-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .filter-actions-modern {
        flex-direction: column;
    }
    
    .filter-actions-modern .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .logs-table-modern {
        font-size: 0.85em;
    }
    
    .logs-table-modern th,
    .logs-table-modern td {
        padding: 10px 8px;
    }
    
    .logs-table-modern {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Modern Content Selection Section */
.content-selection-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-selection-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.content-selection-modern:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.content-selection-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.content-selection-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.content-selection-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px -5px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.content-selection-title-modern h2 {
    margin: 0 0 6px 0;
    font-size: 1.75em;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    border: none;
    padding: 0;
}

.content-selection-title-modern p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.6;
}

.content-fetch-section-modern {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.btn-fetch-content {
    padding: 16px 32px;
    font-size: 1.05em;
}

.content-controls-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.content-controls-left {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9em;
}

.selection-counter-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 0.95em;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.selection-counter-modern svg {
    color: #667eea;
}

.selection-counter-modern #selected-count {
    color: #667eea;
    font-weight: 700;
}

.content-table-section-modern {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.content-table-container-modern {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.content-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.content-table-modern thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.content-table-modern th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85em;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.content-table-modern tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.content-table-modern tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
}

.content-table-modern tbody tr:last-child {
    border-bottom: none;
}

.content-table-modern td {
    padding: 14px 16px;
    font-size: 0.9em;
    color: #475569;
    vertical-align: middle;
}

.content-table-modern .check-column {
    width: 40px;
    text-align: center;
}

.content-table-modern .check-column input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #667eea;
}

.no-content-modern {
    text-align: center;
    padding: 60px 20px;
}

.no-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-content-inner h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 600;
    color: #1e293b;
}

.no-content-inner p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

.content-pagination-modern {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 20px;
}

.content-pagination-modern a,
.content-pagination-modern span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.2s ease;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
}

.content-pagination-modern a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.content-pagination-modern .current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive Content Selection */
@media (max-width: 768px) {
    .content-selection-modern {
        padding: 28px 24px;
        border-radius: 16px;
    }
    
    .content-selection-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .content-selection-header-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .content-selection-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .content-selection-title-modern h2 {
        font-size: 1.5em;
    }
    
    .content-controls-modern {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .content-controls-left {
        width: 100%;
        flex-direction: column;
    }
    
    .content-controls-left .btn-modern {
        width: 100%;
        justify-content: center;
    }
    
    .selection-counter-modern {
        width: 100%;
        justify-content: center;
    }
    
    .content-table-modern {
        font-size: 0.85em;
    }
    
    .content-table-modern th,
    .content-table-modern td {
        padding: 10px 8px;
    }
}

/* Modern Migration Settings Section */
.migration-settings-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: none;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.migration-settings-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.migration-settings-modern:hover {
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.migration-settings-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.migration-settings-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.migration-settings-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px -5px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.migration-settings-title-modern h2 {
    margin: 0 0 6px 0;
    font-size: 1.75em;
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    border: none;
    padding: 0;
}

.migration-settings-title-modern p {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    font-weight: 500;
    line-height: 1.6;
}

.migration-settings-content-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.setting-item-modern {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.setting-item-modern:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.setting-checkbox-modern {
    position: relative;
}

.setting-checkbox-modern input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.setting-checkbox-modern label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    margin: 0;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 2px;
}

.checkbox-custom svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease;
    color: white;
}

.setting-checkbox-modern input[type="checkbox"]:checked + label .checkbox-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.setting-checkbox-modern input[type="checkbox"]:checked + label .checkbox-custom svg {
    opacity: 1;
    transform: scale(1);
}

.setting-checkbox-modern input[type="checkbox"]:focus + label .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.setting-label-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.setting-label-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1em;
    color: #1e293b;
}

.setting-label-title svg {
    color: #667eea;
    flex-shrink: 0;
}

.setting-label-description {
    font-size: 0.9em;
    color: #64748b;
    line-height: 1.6;
    margin-left: 28px;
}

.migration-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.btn-start-migration {
    padding: 16px 40px;
    font-size: 1.1em;
    min-width: 200px;
}

/* Responsive Migration Settings */
@media (max-width: 768px) {
    .migration-settings-modern {
        padding: 28px 24px;
        border-radius: 16px;
    }
    
    .migration-settings-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .migration-settings-header-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .migration-settings-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .migration-settings-title-modern h2 {
        font-size: 1.5em;
    }
    
    .setting-item-modern {
        padding: 16px;
    }
    
    .setting-label-description {
        margin-left: 0;
    }
    
    .btn-start-migration {
        width: 100%;
        min-width: auto;
    }
}

/* ============================================
   Settings Page Modern UI
   ============================================ */

/* Settings Header */
.settings-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 0 24px 0;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: visible;
}

.settings-header-icon-modern {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px -5px rgba(102, 126, 234, 0.4);
    color: white;
    flex-shrink: 0;
}

.settings-header-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.settings-title-modern {
    margin: 0 0 6px 0;
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow: visible;
    word-wrap: break-word;
    white-space: normal;
}

.settings-subtitle-modern {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

/* Settings Sections */
.settings-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.settings-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.settings-section-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.settings-section-modern:hover::before {
    opacity: 1;
}

.settings-section-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.settings-section-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.settings-section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    color: #667eea;
    flex-shrink: 0;
}

.settings-section-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}

/* Settings Content */
.settings-section-content-modern {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.settings-field-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.settings-field-modern label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95em;
    color: #1e293b;
    margin-bottom: 4px;
}

.settings-field-modern label svg {
    color: #667eea;
    flex-shrink: 0;
}

.settings-field-modern .input-modern {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    font-size: 0.95em;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.settings-field-modern .input-modern:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1),
        0 2px 8px rgba(102, 126, 234, 0.15);
}

.settings-field-modern select.input-modern {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.settings-action-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Settings Actions */
.settings-actions-modern {
    display: flex;
    gap: 16px;
    align-items: center;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 2px solid rgba(226, 232, 240, 0.8);
    flex-wrap: wrap;
}

.settings-actions-modern .btn-modern {
    min-width: 160px;
}

/* Responsive Settings */
@media (max-width: 768px) {
    .settings-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 0 20px 0;
    }
    
    .settings-header-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .settings-title-modern {
        font-size: 1.75em;
    }
    
    .settings-section-modern {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .settings-section-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .settings-section-header-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .settings-section-icon {
        width: 40px;
        height: 40px;
    }
    
    .settings-section-title {
        font-size: 1.3em;
    }
    
    .settings-section-content-modern {
        gap: 20px;
    }
    
    .settings-actions-modern {
        flex-direction: column;
    }
    
    .settings-actions-modern .btn-modern {
        width: 100%;
        min-width: auto;
    }
    
    .settings-action-modern {
        flex-direction: column;
        align-items: stretch;
    }
    
    .settings-action-modern .btn-modern {
        width: 100%;
    }
}

/* ============================================
   About Page Modern UI
   ============================================ */

/* About Header */
.about-header-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 0 24px 0;
    margin-bottom: 32px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: visible;
}

.about-header-icon-modern {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    box-shadow: 0 8px 20px -5px rgba(102, 126, 234, 0.4);
    color: white;
    flex-shrink: 0;
}

.about-header-content {
    flex: 1;
    min-width: 0;
    overflow: visible;
}

.about-title-modern {
    margin: 0 0 6px 0;
    font-size: 2em;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #475569 50%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    overflow: visible;
    word-wrap: break-word;
    white-space: normal;
}

.about-subtitle-modern {
    margin: 0;
    color: #64748b;
    font-size: 0.95em;
    line-height: 1.6;
}

/* About Sections */
.about-section-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-section-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.about-section-modern:hover::before {
    opacity: 1;
}

.about-section-header-modern {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.about-section-header-modern::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.about-section-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    color: #667eea;
    flex-shrink: 0;
}

.about-section-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
}

/* About Content */
.about-section-content-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-description {
    margin: 0;
    color: #475569;
    line-height: 1.8;
    font-size: 1em;
}

.about-description strong {
    color: #1e293b;
    font-weight: 700;
}

/* Features List */
.about-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    color: #475569;
    font-size: 0.95em;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.about-features-list li:hover {
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.about-features-list li svg {
    color: #667eea;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Meta Information */
.about-meta-modern {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.about-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9em;
}

.about-meta-item svg {
    color: #667eea;
    flex-shrink: 0;
}

.about-meta-item strong {
    color: #1e293b;
    font-weight: 600;
}

/* Changelog List */
.about-changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-changelog-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: all 0.2s ease;
}

.about-changelog-list li:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.changelog-version {
    font-weight: 700;
    font-size: 0.95em;
    color: #667eea;
    min-width: 80px;
    flex-shrink: 0;
}

.changelog-content {
    color: #475569;
    line-height: 1.6;
    flex: 1;
}

/* Links List */
.about-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.about-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.about-link-card:hover {
    transform: translateX(4px);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.about-link-card:hover::before {
    left: 100%;
}

.about-link-card svg:first-child {
    color: #667eea;
    flex-shrink: 0;
}

.about-link-card span {
    flex: 1;
}

.about-link-card .link-arrow {
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.about-link-card:hover .link-arrow {
    transform: translateX(4px);
    color: #667eea;
}

.about-link-modern {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.about-link-modern:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px 0 20px 0;
    }
    
    .about-header-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .about-title-modern {
        font-size: 1.75em;
    }
    
    .about-section-modern {
        padding: 24px 20px;
        border-radius: 12px;
    }
    
    .about-section-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .about-section-header-modern::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-section-icon {
        width: 40px;
        height: 40px;
    }
    
    .about-section-title {
        font-size: 1.3em;
    }
    
    .about-meta-modern {
        flex-direction: column;
        gap: 16px;
    }
    
    .about-changelog-list li {
        flex-direction: column;
        gap: 8px;
    }
    
    .changelog-version {
        min-width: auto;
    }
} 