.notice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

// Common container styles
.notice-modal-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    max-width: 95vw;

    // Positioning variants
    &.notice-modal-center {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 500px;
        max-width: 95vw;
    }

    &.notice-modal-top-right {
        position: fixed;
        top: 20px;
        right: 20px;
        max-width: 380px;
    }

    &.notice-modal-bottom-right {
        position: fixed;
        bottom: 20px;
        right: 20px;
        max-width: 380px;
    }
}

// Header styles
.notice-modal-header {
    padding: 20px 20px 10px;
    position: relative;

    h2 {
        margin: 0 0 10px;
        font-size: 22px;
        font-weight: 700;
        color: #333;
    }

    p {
        margin: 0;
        color: #666;
        font-size: 16px;
        line-height: 1.5;
    }
}

// Close button
.notice-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
        color: #333;
    }
}

// Action buttons
.notice-modal-actions {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    gap: 15px;

    button {
        padding: 10px 20px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }
}

.notice-modal-confirm {
    background-color: #4CAF50;
    color: white;
    border: none;

    &:hover {
        background-color: #3d8b40;
    }

    .arrow-icon {
        font-size: 14px;
    }
}

.notice-modal-decline {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;

    &:hover {
        background-color: #f5f5f5;
    }
}

// Guarantee section for premium modal
.notice-modal-guarantee {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin: 20px;
    border-radius: 6px;
    border: 1px solid #eee;

    &-badge {
        background-color: #4CAF50;
        color: white;
        font-weight: bold;
        font-size: 20px;
        height: 40px;
        width: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        margin-right: 15px;
    }

    &-text {
        h4 {
            margin: 0 0 5px;
            font-size: 16px;
            color: #333;
        }

        p {
            margin: 0;
            font-size: 14px;
            color: #666;
        }
    }
}

// Toast notification styles
.notice-modal-toast {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-left: 4px solid #4CAF50;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    width: 100%;

    &.notice-modal-toast-success {
        border-left-color: #4CAF50;
    }

    &.notice-modal-toast-info {
        border-left-color: #2196F3;
    }

    &.notice-modal-toast-warning {
        border-left-color: #FF9800;
    }

    &.notice-modal-toast-error {
        border-left-color: #F44336;
    }

    &-icon {
        margin-right: 15px;
        font-size: 20px;

        &.success {
            color: #4CAF50;
        }

        &.info {
            color: #2196F3;
        }

        &.warning {
            color: #FF9800;
        }

        &.error {
            color: #F44336;
        }
    }

    &-content {
        flex: 1;

        h4 {
            margin: 0 0 5px;
            font-size: 16px;
        }

        p {
            margin: 0;
            font-size: 14px;
            color: #666;
        }
    }

    &-close {
        background: none;
        border: none;
        color: #999;
        font-size: 14px;
        cursor: pointer;

        &:hover {
            color: #333;
        }
    }
}

// Specific styles for confirmation modal
.notice-modal-confirmation {
    width: 100%;
}

// Specific styles for premium modal
.notice-modal-premium {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    width: 30%;
    overflow-y: auto;
    font-family: "Inter", sans-serif;
    padding: 18px;

    // Mobile Styles
    &.mobile {
        width: calc(100% - 40px);
        margin: 0 20px;
        padding: 20px;
    }

    // Scrollbar Styling
    &::-webkit-scrollbar {
        width: 8px;
    }

    &::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    &::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

    @media (max-width: 768px) {
        width: calc(100% - 30px);
        margin: 0 15px;
        padding: 20px;
    }

    .notice-modal-header {
        padding-bottom: 0;
    }
}