.wrap {
    max-width: 1400px;
    margin: 20px auto;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow: hidden;
}

.dashboard-main {
    padding: 40px;
    background: #fff;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
    position: relative;
}

.dashboard-header h1 {
    margin-bottom: 0;
    font-size: 36px;
    color: #1d2327;
    font-weight: 700;
    background: linear-gradient(135deg, #2271b1, #135e96);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    text-align: center;
    margin-bottom: 40px;
    padding: 0;
}

.intro-text p {
    font-size: 19px;
    color: #50575e;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

.setup-notice {
    background: #fff3cd !important;
    border: 1px solid #ffeaa7 !important;
    border-left: 4px solid #ffc107 !important;
    padding: 20px 25px !important;
    margin: 0 0 40px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.15);
}

.setup-notice h3 {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
}

.setup-notice p {
    font-size: 14px;
    margin-bottom: 15px;
    color: #856404;
    font-weight: 400;
    line-height: 1.5;
}

.setup-notice .button {
    background: #ffc107 !important;
    border: none !important;
    color: #212529 !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    font-size: 13px !important;
}

.setup-notice .button:hover {
    background: #e0a800 !important;
    transform: translateY(-1px) !important;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
    box-sizing: border-box;
}

@supports (-ms-ime-align: auto) {
    .dashboard-stats {
        display: -ms-grid;
        -ms-grid-columns: 1fr 30px 1fr 30px 1fr;
        -ms-grid-rows: auto;
    }
}

.dashboard-stats > div:nth-child(1) {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
}

.dashboard-stats > div:nth-child(2) {
    -ms-grid-column: 2;
    -ms-grid-row: 1;
}

.dashboard-stats > div:nth-child(3) {
    -ms-grid-column: 3;
    -ms-grid-row: 1;
}

.stat-card {
    background: linear-gradient(135deg, #fff, #fafbfc);
    border: 2px solid #e2e4e7;
    border-radius: 16px;
    padding: 30px 25px;
    display: flex;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2271b1, #135e96);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #2271b1;
}

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

.stat-icon {
    margin-right: 20px;
    background: linear-gradient(135deg, #f0f6fc, #e7f3ff);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #d1e7ff;
}

.stat-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #2271b1;
}

.stat-content h3 {
    margin: 0 0 8px;
    font-size: 32px;
    color: #1d2327;
    font-weight: 700;
    line-height: 1;
}

.stat-content p {
    margin: 0 0 6px;
    color: #50575e;
    font-size: 16px;
    font-weight: 600;
}

.stat-help {
    display: block;
    color: #646970;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 400;
}

.dashboard-actions {
    text-align: center;
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f0f6fc, #e7f3ff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(34, 113, 177, 0.1);
    border: 2px solid #d1e7ff;
    position: relative;
    overflow: hidden;
}

.dashboard-actions::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 113, 177, 0.05) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.action-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.action-content h2 {
    margin: 0 0 12px;
    font-size: 26px;
    color: #1d2327;
    font-weight: 700;
}

.action-content p {
    font-size: 17px;
    color: #50575e;
    margin: 0 0 25px;
    font-weight: 400;
}

.button-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    height: auto;
    line-height: 1.4;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
    background: linear-gradient(135deg, #2271b1, #135e96);
    color: #fff;
    border: none;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
    position: relative;
    overflow: hidden;
}

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

.button-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 113, 177, 0.4);
    background: linear-gradient(135deg, #135e96, #0d4b7a);
}

.button-hero:hover::before {
    left: 100%;
}

.button-hero:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
}

.button-hero:disabled,
.button-hero.disabled {
    background: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    opacity: 0.6;
}

.button-hero:disabled:hover,
.button-hero.disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    background: #ccc !important;
}

.button-hero:disabled::before,
.button-hero.disabled::before {
    display: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff, #fafbfc);
    border: 2px solid #e2e4e7;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2271b1, #135e96);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    border-color: #2271b1;
}

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

.feature-card .dashicons {
    font-size: 42px;
    width: 42px;
    height: 42px;
    color: #2271b1;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card:hover .dashicons {
    transform: scale(1.1);
}

.feature-card h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #1d2327;
    font-weight: 700;
    text-align: center;
}

.feature-card p {
    margin: 0;
    color: #50575e;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
}

/* Additional content sections */
.additional-content {
    margin-top: 30px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
}

.recent-activity {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 20px;
}

.recent-activity h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1d2327;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e4e7;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f1;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    margin-right: 10px;
    color: #2271b1;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 13px;
    color: #1d2327;
    margin: 0 0 3px 0;
}

.activity-time {
    font-size: 11px;
    color: #646970;
}

.quick-stats {
    background: #fff;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 20px;
}

.quick-stats h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #1d2327;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e4e7;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f1;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 13px;
    color: #50575e;
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .wrap {
        max-width: 1200px;
        margin: 15px;
    }
    
    .dashboard-main {
        padding: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 782px) {
    .wrap {
        max-width: none;
        margin: 10px;
        border-radius: 8px;
    }
    
    .dashboard-main {
        padding: 25px;
    }

    .dashboard-header {
        text-align: center;
        padding: 0;
        margin-bottom: 40px;
    }

    .dashboard-header h1 {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    @supports (-ms-ime-align: auto) {
        .dashboard-stats {
            -ms-grid-columns: 1fr;
            -ms-grid-rows: auto auto auto;
        }
    }

    .stat-card {
        min-height: auto;
        padding: 25px 20px;
    }

    .dashboard-actions {
        padding: 30px 25px;
        margin: 30px 0;
    }

    .action-content h2 {
        font-size: 22px;
    }

    .button-hero {
        padding: 16px 32px;
        min-width: 220px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
        min-height: 180px;
    }
}

@media (max-width: 480px) {
    .wrap {
        margin: 5px;
        border-radius: 6px;
    }
    
    .dashboard-main {
        padding: 20px;
    }

    .dashboard-header h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .stat-content h3 {
        font-size: 28px;
        line-height: 1.2;
    }

    .dashboard-actions {
        padding: 25px 20px;
        margin: 25px 0;
    }

    .action-content h2 {
        font-size: 20px;
    }

    .button-hero {
        width: 100%;
        min-width: auto;
        padding: 14px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
        min-height: 160px;
    }
}
