 body {
        font-family: "Segoe UI", sans-serif;
        background: #f8f9fa;
        padding: 20px;
    }

    /* Popup Base */
    .popup-box {
        display: block;
        position: relative;
        background: #fff;
        border-radius: 12px;
        width: 340px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
        border: 1px solid #dee2e6;
        overflow: hidden;
    }

    /* Header Tabs */
    .popup-header {
        display: flex;
        border-bottom: 1px solid #dee2e6;
    }

    .popup-tab {
        flex: 1;
        text-align: center;
        padding: 10px 0;
        cursor: pointer;
        font-weight: 500;
        transition: background 0.2s;
    }

    .popup-tab.active {
        border-bottom: 3px solid #0d6efd;
        color: #0d6efd;
        font-weight: 600;
    }

    /* Content */
    .popup-content {
        padding: 15px;
        display: none;
        /* hidden by default */
    }

    .popup-content.active {
        display: block;
        /* show only active */
    }

    /* Grid buttons */
    .popup-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        margin-bottom: 15px;
    }

    .popup-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 12px;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background: #f8f9fa;
        cursor: pointer;
        transition: all 0.2s;
        font-size: 13px;
    }

    .popup-btn:hover {
        background: #e9ecef;
        border-color: #0d6efd;
    }

    .popup-btn span {
        font-size: 24px;
        margin-bottom: 5px;
    }

    /* Options list */
    .popup-options button {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
        font-size: 14px;
    }

    /* Footer */
    .popup-footer {
        padding: 10px 15px;
        border-top: 1px solid #dee2e6;
        font-size: 13px;
        color: #6c757d;
        background: #f8f9fa;
    }

    .popup-footer a {
        text-decoration: none;
        font-weight: 500;
        margin-left: 5px;
    }

    .popup-footer .upgrade {
        color: #0d6efd;
        font-size: 12px;
        border: 1px solid #0d6efd;
        border-radius: 6px;
        padding: 2px 6px;
        margin-left: 6px;
    }

    .start-recording {
        display: block;
        width: 100%;
        margin-top: 10px;
        font-size: 15px;
        padding: 8px;
    }