:root {
    --primary-red: #fe0000;
    --light-bg: #f7f5f5;
    --border-color: #e5e5e5;
}

body {
    font-family: "Inter", sans-serif;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* ===== Header ===== */
.top-header {
    background-color: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    height: 70px;
    flex-wrap: wrap;
}

/* .top-header .logo {
      font-size: 26px;
      font-weight: 700;
      letter-spacing: 0.5px;
    } */

.top-header .logo img {
    height: 60px;
}

.top-header .device-icons i {
    font-size: 30px;
    margin: 0 8px;
    cursor: pointer;
}

.controls {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    font-size: 22px;
}

/* ===== Layout ===== */
.main-container {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 70px);
}

/* ===== Sidebar ===== */
.sidebar {
    /* width: 260px; */
    background: white;
    border-right: 1px solid var(--border-color);
    padding: 15px 10px;
}

.accordion-button {
    color: #000;
    font-weight: 500;
    background: white;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #f9f9f9;
    color: var(--primary-red);
}

/* ===== Preview Section ===== */
.preview-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

.phone-frame {
    position: relative;
    width: 700px;
    max-width: 100vw;
    height: 700px;
    background: url(../img/mobile-bg.png) center/contain no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 90px;
    aspect-ratio: 16/9;
}

.phone-inner {
    width: 280px;
    height: 562px;
     background: url(../img/bg.jpeg) center/contain no-repeat;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.phone-header {
    background-color: var(--primary-red);
    text-align: center;
    padding: 10px 0;
}

.phone-header img {
    height: 25px;
}

/* ===== QR Box ===== */
.qr-box {
    max-width: 200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

.qr-box img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.qr-box h6 {
    font-weight: 600;
    margin-bottom: 10px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .phone-frame {
        aspect-ratio: 16/9;
    }
    .phone-inner
    {
        width: 40%;
    }
    .sidebar {
        display: none;
    }
    .offcanvas-body .accordion-button {
        font-size: 16px;
    }
    .top-header {
        justify-content: space-between;
    }
    .controls{
        font-size: 16px;
    }
    .top-header .logo img
    {
        height: 40px;
    }
    .top-header .device-icons i {
    font-size: 22px;
    }
}

@media (max-width: 576px) {
    .phone-frame {
        height: 500px;
        aspect-ratio: 16/9;
    }
    .phone-inner {
        height: 85%;
        width: 40%;
    }
    .qr-box img {
        width: 100px;
        height: 100px;
    }
    .controls span {
        display: none;
    }
    .top-header{
        padding: 10px 10px;
    }
    .top-header .logo img
    {
        height: 30px;
    }
    .top-header .device-icons i {
    font-size: 15px;
    }
}
