.permission-popup {
    align-items: stretch;
    border-radius: 16px;
    box-shadow: 0px 16px 24px 0px rgba(0, 0, 0, 0.08);
    display: flex;
    max-width: 491px;
    padding: 24px 20px;
    flex-direction: column;
    font-family: Raleway, -apple-system, Roboto, Helvetica, sans-serif;
    justify-content: start;
    background-color: #fff;
    overflow-y: scroll;
    scrollbar-width: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.permission-image {
aspect-ratio: 1.06;
object-fit: contain;
object-position: center;
width: 150px;
align-self: center;
max-width: 100%;
margin-top: 40px;
margin-bottom: 30px;
}

.permission-popup-overlay {
    display: none; 
    position: fixed; 
    top: 0; 
    width: 71%; 
    height: 100%; 
    background-color: rgb(0 0 0 / 65%);
    backdrop-filter: blur(18px); 
    z-index: 9999; 
    justify-content: center; 
    align-items: center;
    right: 0;
}

.title-container {
    align-self: center;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.title {
    color: #333;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0;
}

.subtitle {
    color: rgb(60, 47, 58);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.16px;
    margin: 8px 0 0;
    text-align: center;
}

.icon-container {
    display: flex;
    margin: 0px 0 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    font-size: 16px;
    color: rgb(51, 51, 51);
    font-weight: 500;
    justify-content: start;
}

.supporting-text {
    margin: 12px 0 0;
    width: 100%;
    text-align: center;
}

.button-container {
    display: flex;
    margin-top: 16px;
    width: 100%;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    justify-content: start;
    flex-wrap: wrap;
    flex-direction: column;
}

.btn {
    align-self: stretch;
    flex: 1;
    border-radius: 8px;
    padding: 14px 42px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    box-shadow: none;
}

.btn:hover {
    opacity: 0.9;
}

.btn-outline {
    background-color: #fff;
    border: 2px solid rgb(60, 47, 58);
    color: rgb(60, 47, 58);
}

.btn-solid {
    background-color: rgb(60, 47, 58);
    border: none;
    color: #fff;
}

@media (max-width: 991px) {
    .title {
        max-width: 100%;
    }

    .subtitle {
        max-width: 100%;
    }

    .icon-container {
        max-width: 100%;
    }

    .supporting-text {
        max-width: 100%;
    }

    .button-container {
        max-width: 100%;
    }

    .btn {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1566px) {
    .permission-popup-overlay {
        width: 73%;
    }
}

@media screen and (max-width: 767px) {
    .permission-popup-overlay {
        width: 100%;
    }
    .permission-popup {
        width: 92% !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .permission-popup-overlay {
        width: 100%;
    }
}

@media screen and (min-device-width: 820px) and (max-device-width: 1180px) and (orientation: landscape) {
    .permission-popup-overlay {
        width: 75%;
    }
}
