
/* ─── Base ───────────────────────────────────────────── */
.convertly-app {
    display: flex;
    width: 100%;
    height: 100%;
    background: #1c1c1e;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    border-radius: 13px;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* ─── Sidebar ────────────────────────────────────────── */
.convertly-app .sidebar {
    width: 230px;
    min-width: 230px;
    background: #232325;
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 14px 10px 14px;
}

.convertly-app .traffic-lights {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-left: 6px;
}

.convertly-app .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.convertly-app .light.red    { background: #ff5f56; }
.convertly-app .light.yellow { background: #ffbd2e; }
.convertly-app .light.green  { background: #27c93f; }

/* Logo row */
.convertly-app .sidebar-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 8px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.3px;
}

.convertly-app .sidebar-logo-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Nav list */
.convertly-app .sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.convertly-app .sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 5px 0;
}

.convertly-app .nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    letter-spacing: -0.1px;
}

.convertly-app .nav-item:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
}

.convertly-app .nav-item.active {
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-weight: 500;
}

.convertly-app .icon {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    opacity: 0.85;
}

.convertly-app .nav-item.active .icon {
    opacity: 1;
}

/* Footer */
.convertly-app .sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 1px;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 10px;
}

/* ─── Main area ──────────────────────────────────────── */
.convertly-app .main-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1c1c1e;
    min-width: 0;
}

.convertly-app .main-header {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.convertly-app .app-title {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: -0.1px;
}

.convertly-app .sidebar-toggle {
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.3);
}

.convertly-app .content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 26px 16px;
}

.convertly-app .content-header h2 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
    font-family: neuehaasdisplayroman, -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.6px;
    color: #fff;
}

/* Buttons */
.convertly-app .btn {
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
    letter-spacing: -0.1px;
}

.convertly-app .btn-blue {
    background: #0a84ff;
    color: #fff;
}

.convertly-app .btn-blue:hover { opacity: 0.85; }

.convertly-app .btn-browse {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(10, 132, 255, 0.15);
    color: #0a84ff;
    border: 1px solid rgba(10, 132, 255, 0.25);
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 10px;
    letter-spacing: -0.1px;
}

.convertly-app .browse-circle {
    width: 16px;
    height: 16px;
    background: #0a84ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.convertly-app .browse-circle svg {
    width: 9px;
    height: 9px;
    stroke: #fff;
    fill: none;
}

.convertly-app .btn-disabled {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.25);
    cursor: not-allowed;
    padding: 8px 28px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 500;
    border: none;
}

/* Drop zone */
.convertly-app .drop-zone {
    flex: 1;
    margin: 0 22px 18px;
    border: 1.5px dashed rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255,255,255,0.015);
}

.convertly-app .drop-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 2px;
}

.convertly-app .drop-icon svg {
    width: 22px;
    height: 22px;
    stroke: rgba(255,255,255,0.6);
    fill: none;
}

.convertly-app .drop-text {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: -0.2px;
}

.convertly-app .drop-formats {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
    letter-spacing: 0.02em;
}

/* Footer bar */
.convertly-app .main-footer {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* ─── Mobile Responsive ─────────────────────────────── */
@media (max-width: 768px) {
    #imob0j-3-3-2-3 {
        transform: scale(0.85);
        transform-origin: top center;
    }

    .convertly-app .sidebar {
        display: none;
    }

    .convertly-app {
        border-radius: 10px;
    }
}

@media (max-width: 540px) {
    #imob0j-3-3-2-3 {
        transform: scale(0.72);
        transform-origin: top center;
        margin-bottom: -60px;
    }
}

@media (max-width: 400px) {
    #imob0j-3-3-2-3 {
        transform: scale(0.58);
        transform-origin: top center;
        margin-bottom: -110px;
    }
}
