/* ══════════════════════════════════════════════════
   INSTA MENTOR - DEMO PAGES STYLES
   ══════════════════════════════════════════════════ */

.insta-page-wrapper {
    font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    direction: rtl;
    background: #fafafa;
    min-height: 100vh;
    max-width: 470px;
    margin: 0 auto;
    border-left: 1px solid #dbdbdb;
    border-right: 1px solid #dbdbdb;
}

.insta-page-wrapper.dark {
    background: #000000;
    border-color: #262626;
}

/* Mobile Frame (optional) */
.insta-mobile-frame {
    max-width: 430px;
    margin: 30px auto;
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #fff;
    position: relative;
}

.insta-mobile-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 24px;
    background: #1a1a1a;
    border-radius: 0 0 16px 16px;
    z-index: 10;
}

.insta-mobile-frame .insta-page-wrapper {
    border: none;
    border-radius: 32px;
    margin-top: 12px;
}

/* Status Bar */
.insta-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    color: #262626;
}

.insta-status-bar.dark {
    color: #fafafa;
}

@media (max-width: 500px) {
    .insta-mobile-frame {
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
    }
    .insta-mobile-frame::before {
        display: none;
    }
}