/* =========================================================
   TOOLSHIVA INSTALL POPUP
========================================================== */

.toolshiva-install-overlay {

    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);

}


.toolshiva-install-overlay.show {

    display: flex;

}


.toolshiva-install-popup {

    position: relative;

    width: 100%;

    max-width: 380px;

    background: #ffffff;

    border-radius: 18px;

    padding: 28px 24px 24px;

    text-align: center;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

}


.toolshiva-install-close {

    position: absolute;

    top: 10px;

    right: 12px;

    width: 34px;

    height: 34px;

    border: 0;

    border-radius: 50%;

    background: transparent;

    color: #666666;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

}


.toolshiva-install-close:hover {

    background: #f2f2f2;

}


.toolshiva-install-icon {

    width: 76px;

    height: 76px;

    object-fit: cover;

    border-radius: 16px;

    margin-bottom: 14px;

}


.toolshiva-install-popup h3 {

    margin: 0 0 10px;

    font-size: 21px;

    line-height: 1.3;

    color: #222222;

}


.toolshiva-install-popup p {

    margin: 0 auto 22px;

    max-width: 320px;

    font-size: 15px;

    line-height: 1.5;

    color: #666666;

}


.toolshiva-install-buttons {

    display: flex;

    gap: 10px;

}


.toolshiva-install-buttons button {

    flex: 1;

    min-height: 44px;

    border-radius: 10px;

    padding: 10px 14px;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

}


.toolshiva-install-yes {

    border: 1px solid #1206ee;

    background: #1206ee;

    color: #ffffff;

}


.toolshiva-install-no {

    border: 1px solid #dddddd;

    background: #ffffff;

    color: #444444;

}


.toolshiva-install-buttons button:disabled {

    opacity: 0.6;

    cursor: not-allowed;

}


/* =========================================================
   ACTIVE PAGE REMINDER FLASH
========================================================== */

.toolshiva-reminder-flash {

    position: fixed;

    inset: 0;

    z-index: 999998;

    pointer-events: none;

    opacity: 0;

    border: 5px solid #1206ee;

}


.toolshiva-reminder-flash.active {

    animation:
        toolshiva-reminder-flash-animation
        1.2s ease-in-out;

}


@keyframes toolshiva-reminder-flash-animation {

    0% {

        opacity: 0;

    }

    15% {

        opacity: 0.85;

    }

    30% {

        opacity: 0;

    }

    45% {

        opacity: 0.85;

    }

    60% {

        opacity: 0;

    }

    100% {

        opacity: 0;

    }

}


/* =========================================================
   NOTIFICATION PANEL
========================================================== */

.toolshiva-notification-panel {

    position: fixed;

    right: 20px;

    bottom: 20px;

    z-index: 999997;

    width: 360px;

    max-width: calc(100vw - 32px);

    display: none;

}


.toolshiva-notification-panel.show {

    display: block;

}


.toolshiva-notification-panel-inner {

    background: #ffffff;

    border-radius: 16px;

    padding: 18px;

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.22);

    border: 1px solid #e5e5e5;

}


/* =========================================================
   NOTIFICATION HEADER
========================================================== */

.toolshiva-notification-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;

}


.toolshiva-notification-panel-icon {

    width: 48px;

    height: 48px;

    object-fit: cover;

    border-radius: 10px;

}


.toolshiva-notification-header strong {

    display: block;

    color: #222222;

    font-size: 16px;

}


.toolshiva-notification-header span {

    display: block;

    margin-top: 3px;

    color: #777777;

    font-size: 12px;

}


/* =========================================================
   STATUS
========================================================== */

.toolshiva-notification-status {

    display: flex;

    justify-content: space-between;

    gap: 12px;

    padding: 11px 12px;

    margin-bottom: 12px;

    background: #f6f6f6;

    border-radius: 9px;

    font-size: 13px;

}


.toolshiva-notification-status strong {

    color: #1206ee;

}


/* =========================================================
   PRIMARY BUTTON
========================================================== */

.toolshiva-notification-primary {

    width: 100%;

    min-height: 42px;

    border: 1px solid #1206ee;

    border-radius: 9px;

    background: #1206ee;

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

}


.toolshiva-notification-primary:disabled {

    opacity: 0.6;

    cursor: default;

}


/* =========================================================
   REMINDER SETTINGS
========================================================== */

.toolshiva-reminder-settings {

    margin-top: 15px;

}


.toolshiva-reminder-settings label {

    display: block;

    margin-bottom: 6px;

    color: #444444;

    font-size: 13px;

    font-weight: 600;

}


#toolshiva-reminder-time {

    width: 100%;

    height: 40px;

    padding: 0 10px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    background: #ffffff;

    color: #333333;

    font-size: 14px;

}


/* =========================================================
   REMINDER TOGGLE
========================================================== */

.toolshiva-reminder-toggle {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 13px;

    color: #444444;

    font-size: 14px;

}


.toolshiva-reminder-toggle input {

    width: 17px;

    height: 17px;

}


/* =========================================================
   ACTIONS
========================================================== */

.toolshiva-notification-actions {

    display: flex;

    gap: 8px;

    margin-top: 16px;

}


.toolshiva-notification-actions button {

    flex: 1;

    min-height: 38px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    background: #ffffff;

    color: #444444;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

}


.toolshiva-notification-actions button:hover {

    background: #f5f5f5;

}


/* =========================================================
   MOBILE
========================================================== */

@media (max-width: 480px) {

    .toolshiva-install-overlay {

        padding: 16px;

    }


    .toolshiva-install-popup {

        max-width: 340px;

        padding: 25px 18px 20px;

    }


    .toolshiva-install-buttons {

        flex-direction: column;

    }


    .toolshiva-install-buttons button {

        width: 100%;

    }


    .toolshiva-notification-panel {

        right: 16px;

        bottom: 16px;

        width: auto;

    }

}